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
struct
NgLib::
Edge
NgLib::Edge
Struct
Value
Object
Defined in:
nglib/graph/weighted_edge.cr
Constructors
.new
(t : Int64, w : Int64)
Class Method Summary
.to
.weight
Instance Method Summary
#[]
(i : Int)
Constructor Detail
def self.
new
(t : Int64, w : Int64)
#
[
View source
]
Class Method Detail
def self.
to
#
[
View source
]
def self.
weight
#
[
View source
]
Instance Method Detail
def
[]
(i :
Int
)
#
[
View source
]