README
Top Level Namespace
Array
AsciiBinaryTree
Barrett
BigFloat
BigFloat
BinaryHeap
BinaryTree
EmptyError
BipartiteMatching
Combination
Comparable
CulSum
CulSum2D
DiGraph
DP
DynamicMint
Mint
Enumerable
EulerTourForVertex
FenwickTree
GCD
Geometric
Circle
Line
Polygon
Segment
Vec2
Graph
Imos
Imos2D
ImosLinear
Indexable
Int
Iterator
LCA
Math
Matrix
Mint
Mint2
ModInt
MultiSet
NTT
PartiallyPersistentUnionFind
PersistentArray
PersistentUnionFind
Point
Prime
PythagoreanTriples
ReRooting
RollingHash
Scanner
SCC
Sieve
SieveFast
SlopeTrick
SMultiSet
Bucket
RedBlackTree
NilNode
Node
Color
Treap
NilNode
Node
SSet
Bucket
RedBlackTree
NilNode
Node
Color
Treap
NilNode
Node
String
TreeNilNode
TreeNode
Tuple
UnGraph
UnionFind
UnweightedDiGraph
UnweightedEdge
UnweightedEdge2
UnweightedUnGraph
WeightedEdge
WeightedEdge2
struct
UnweightedEdge
UnweightedEdge
Struct
Value
Object
Defined in:
graph/edge.cr
Constructors
.new
(to, cost)
.new
(to)
Instance Method Summary
#cost
: Int32
#inspect
(io) : Nil
#to
: Int32
#to=
(to : Int32)
#to_s
(io) : Nil
Constructor Detail
def self.
new
(to, cost)
#
[
View source
]
def self.
new
(to)
#
[
View source
]
Instance Method Detail
def
cost
: Int32
#
[
View source
]
def
inspect
(io) : Nil
#
[
View source
]
def
to
: Int32
#
[
View source
]
def
to=
(to : Int32)
#
[
View source
]
def
to_s
(io) : Nil
#
[
View source
]