getFlow method
Gets the flow value on a specific edge
Implementation
num getFlow(T from, T to) {
final edge = _findEdge(flowNetwork, from, to);
return edge?.flow ?? 0;
}
Gets the flow value on a specific edge
num getFlow(T from, T to) {
final edge = _findEdge(flowNetwork, from, to);
return edge?.flow ?? 0;
}