{ 0, inf, inf }, { 0, inf, inf }, { inf, inf }, };
int[][] capacities = { { 11, 11 }, { 10, 10, 0 }, { 10, 10, 0 },
{ 11, 0, 0 }, { 11, 0, 0 }, { 0, 0 }, };
CostFlowNetwork network = new CostFlowNetwork(neighbors, weights,
capacities, 0, 5);
network.computeMinCostFlow();
}