Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Crystalg::Graph::FlowGraph(C)
Inherits
Reference
<
Object
C: type of capacity
Constructors
new
(size :
Int32
)
Source
Instance methods
add
(edge :
FlowEdge
(
C
))
Source
adjacent_nodes
(node_id :
NodeID
) :
Array
(
Tuple
(
NodeID
,
C
,
Int32
))
Source
flow
(v :
NodeID
, index :
Int32
, f :
C
) :
C
Source
size
Source