def __init__(self,
              reserve_num_nodes: "operations_research::NodeIndex" = 0,
              reserve_num_arcs: "operations_research::ArcIndex" = 0):
     _pywrapgraph.SimpleMinCostFlow_swiginit(
         self,
         _pywrapgraph.new_SimpleMinCostFlow(reserve_num_nodes,
                                            reserve_num_arcs))
Ejemplo n.º 2
0
 def __init__(self):
     this = _pywrapgraph.new_SimpleMinCostFlow()
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Ejemplo n.º 3
0
 def __init__(self):
     _pywrapgraph.SimpleMinCostFlow_swiginit(self, _pywrapgraph.new_SimpleMinCostFlow())