class Crystalg::Graph::FordFulkerson(C)

Overview

C: type of capacity

Defined in:

crystalg/graph/flow/ford_fulkerson.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(graph : FlowGraph(C)) #

[View source]

Instance Method Detail

def dfs(node_id : NodeID, target : NodeID, flow : C) : C #

[View source]
def max_flow(source : NodeID, target : NodeID) #

[View source]