![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 11 of file MinCostFlow.java.
Public Member Functions | |
| synchronized void | delete () |
| MinCostFlow (int reserve_num_nodes, int reserve_num_arcs) | |
| MinCostFlow (int reserve_num_nodes) | |
| MinCostFlow () | |
| int | addArcWithCapacityAndUnitCost (int tail, int head, long capacity, long unit_cost) |
| void | setArcCapacity (int arc, long capacity) |
| void | setNodeSupply (int node, long supply) |
| MinCostFlowBase.Status | solve () |
| MinCostFlowBase.Status | solveMaxFlowWithMinCost () |
| long | getOptimalCost () |
| long | getMaximumFlow () |
| long | getFlow (int arc) |
| int | getNumNodes () |
| int | getNumArcs () |
| int | getTail (int arc) |
| int | getHead (int arc) |
| long | getCapacity (int arc) |
| long | getSupply (int node) |
| long | getUnitCost (int arc) |
| Public Member Functions inherited from com.google.ortools.graph.MinCostFlowBase | |
| MinCostFlowBase () | |
Protected Member Functions | |
| MinCostFlow (long cPtr, boolean cMemoryOwn) | |
| void | finalize () |
| Protected Member Functions inherited from com.google.ortools.graph.MinCostFlowBase | |
| MinCostFlowBase (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
| static long | getCPtr (MinCostFlow obj) |
| static long | swigRelease (MinCostFlow obj) |
| Static Protected Member Functions inherited from com.google.ortools.graph.MinCostFlowBase | |
| static long | getCPtr (MinCostFlowBase obj) |
| static long | swigRelease (MinCostFlowBase obj) |
Additional Inherited Members | |
| Protected Attributes inherited from com.google.ortools.graph.MinCostFlowBase | |
| transient boolean | swigCMemOwn |
|
protected |
Definition at line 14 of file MinCostFlow.java.
| com.google.ortools.graph.MinCostFlow.MinCostFlow | ( | int | reserve_num_nodes, |
| int | reserve_num_arcs ) |
Definition at line 51 of file MinCostFlow.java.
| com.google.ortools.graph.MinCostFlow.MinCostFlow | ( | int | reserve_num_nodes | ) |
Definition at line 55 of file MinCostFlow.java.
| com.google.ortools.graph.MinCostFlow.MinCostFlow | ( | ) |
Definition at line 59 of file MinCostFlow.java.
| int com.google.ortools.graph.MinCostFlow.addArcWithCapacityAndUnitCost | ( | int | tail, |
| int | head, | ||
| long | capacity, | ||
| long | unit_cost ) |
Definition at line 63 of file MinCostFlow.java.
| synchronized void com.google.ortools.graph.MinCostFlow.delete | ( | ) |
Reimplemented from com.google.ortools.graph.MinCostFlowBase.
Definition at line 40 of file MinCostFlow.java.
|
protected |
Reimplemented from com.google.ortools.graph.MinCostFlowBase.
Definition at line 36 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getCapacity | ( | int | arc | ) |
Definition at line 111 of file MinCostFlow.java.
|
staticprotected |
Definition at line 19 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getFlow | ( | int | arc | ) |
Definition at line 91 of file MinCostFlow.java.
| int com.google.ortools.graph.MinCostFlow.getHead | ( | int | arc | ) |
Definition at line 107 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getMaximumFlow | ( | ) |
Definition at line 87 of file MinCostFlow.java.
| int com.google.ortools.graph.MinCostFlow.getNumArcs | ( | ) |
Definition at line 99 of file MinCostFlow.java.
| int com.google.ortools.graph.MinCostFlow.getNumNodes | ( | ) |
Definition at line 95 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getOptimalCost | ( | ) |
Definition at line 83 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getSupply | ( | int | node | ) |
Definition at line 115 of file MinCostFlow.java.
| int com.google.ortools.graph.MinCostFlow.getTail | ( | int | arc | ) |
Definition at line 103 of file MinCostFlow.java.
| long com.google.ortools.graph.MinCostFlow.getUnitCost | ( | int | arc | ) |
Definition at line 119 of file MinCostFlow.java.
| void com.google.ortools.graph.MinCostFlow.setArcCapacity | ( | int | arc, |
| long | capacity ) |
Definition at line 67 of file MinCostFlow.java.
| void com.google.ortools.graph.MinCostFlow.setNodeSupply | ( | int | node, |
| long | supply ) |
Definition at line 71 of file MinCostFlow.java.
| MinCostFlowBase.Status com.google.ortools.graph.MinCostFlow.solve | ( | ) |
Definition at line 75 of file MinCostFlow.java.
| MinCostFlowBase.Status com.google.ortools.graph.MinCostFlow.solveMaxFlowWithMinCost | ( | ) |
Definition at line 79 of file MinCostFlow.java.
|
staticprotected |
Definition at line 23 of file MinCostFlow.java.