DotNet Reference
.Net Reference
MinCostFlow.cs
Go to the documentation of this file.
16 internal MinCostFlow(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_graphPINVOKE.MinCostFlow_SWIGUpcast(cPtr), cMemoryOwn) {
21 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
31 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 public MinCostFlow(int reserve_num_nodes, int reserve_num_arcs) : this(operations_research_graphPINVOKE.new_MinCostFlow__SWIG_0(reserve_num_nodes, reserve_num_arcs), true) {
40 public MinCostFlow(int reserve_num_nodes) : this(operations_research_graphPINVOKE.new_MinCostFlow__SWIG_1(reserve_num_nodes), true) {
47 int ret = operations_research_graphPINVOKE.MinCostFlow_AddArcWithCapacityAndUnitCost(swigCPtr, tail, head, capacity, unit_cost);
56 MinCostFlowBase.Status ret = (MinCostFlowBase.Status)operations_research_graphPINVOKE.MinCostFlow_Solve(swigCPtr);
static int MinCostFlow_Solve(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: LinearSumAssignment.cs:11
static int MinCostFlow_Tail(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
MinCostFlowBase.Status SolveMaxFlowWithMinCost()
Definition: MinCostFlow.cs:60
MinCostFlow(int reserve_num_nodes, int reserve_num_arcs)
Definition: MinCostFlow.cs:37
static int MinCostFlow_NumArcs(global::System.Runtime.InteropServices.HandleRef jarg1)
static int MinCostFlow_SolveMaxFlowWithMinCost(global::System.Runtime.InteropServices.HandleRef jarg1)
static int MinCostFlow_AddArcWithCapacityAndUnitCost(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, long jarg4, long jarg5)
static long MinCostFlow_Supply(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
override void Dispose(bool disposing)
Definition: MinCostFlow.cs:24
static void delete_MinCostFlow(global::System.Runtime.InteropServices.HandleRef jarg1)
static long MinCostFlow_MaximumFlow(global::System.Runtime.InteropServices.HandleRef jarg1)
static int MinCostFlow_NumNodes(global::System.Runtime.InteropServices.HandleRef jarg1)
static void MinCostFlow_SetNodeSupply(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
static int MinCostFlow_Head(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long MinCostFlow_UnitCost(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
MinCostFlow(int reserve_num_nodes)
Definition: MinCostFlow.cs:40
static long MinCostFlow_Flow(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long MinCostFlow_Capacity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void SetNodeSupply(int node, long supply)
Definition: MinCostFlow.cs:51
Definition: operations_research_graphPINVOKE.cs:13
int AddArcWithCapacityAndUnitCost(int tail, int head, long capacity, long unit_cost)
Definition: MinCostFlow.cs:46
static global::System.IntPtr MinCostFlow_SWIGUpcast(global::System.IntPtr jarg1)
static long MinCostFlow_OptimalCost(global::System.Runtime.InteropServices.HandleRef jarg1)