Open Sidebar
Close Sidebar
nglib
main
Top Level Namespace
Char
Int
NgLib
AATreeMap
AATreeMultiset
AATreeSet
BfsGraph
BinaryBfsGraph
CompressedWaveletMatrix
DijkstraGraph
Edge
DualSegTree
NotInitializeError
DynamicRangeFrequency
DynamicRangeSum
DynamicRectangleSum
Edge
EulerTourTree
FastIn
Scanner
FloydWarshallGraph
Grid
Pos
UnreachableError
LCA
Graph
LDE
NotHasSolutionError
MaxFlowGraph
Edge
MexSet
MSTGraph
PotentializedDisjointSet
PrioritySum
RollingHash
SCC
Graph
SlideMinmax
SparseTable
StaticRangeFrequency
StaticRangeSum
StaticRectangleSum
SuccinctBitVector
TSPGraph
WaveletMatrix
Weight
class
NgLib::
MaxFlowGraph::
Edge(T)
NgLib::MaxFlowGraph::Edge(T)
Reference
Object
Defined in:
nglib/graph/max_flow.cr
Constructors
.new
(to : Int32, rev : Int32, cap : T)
Instance Method Summary
#cap
: T
#cap=
(cap : T)
#rev
: Int32
#to
: Int32
Constructor Detail
def self.
new
(to : Int32, rev : Int32, cap : T)
#
[
View source
]
Instance Method Detail
def
cap
: T
#
[
View source
]
def
cap=
(cap : T)
#
[
View source
]
def
rev
: Int32
#
[
View source
]
def
to
: Int32
#
[
View source
]