public EdmondsKarpMaximumFlowAlgorithm EdmundsKarp() { EdmondsKarpMaximumFlowAlgorithm maxFlow = new EdmondsKarpMaximumFlowAlgorithm( Graph, Capacities, ReversedEdges ); return maxFlow; }
private void InitializeGraph() { GenerateActivityGraph(); _flowAgorithm = new EdmondsKarpMaximumFlowAlgorithm<int, Edge<int>>( _graph, CalculateActivitySuccessorCapacity, CreateAdditionalEdgeFactory); }