Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cgl
v0.2.0
CGL
AbstractDiGraph
AbstractGraph
AdjacencyDiGraph
AdjacencyGraph
AdjacencyHash
AnyEdge
AnyGraph
BFSIterator
BinaryHeap
Color
DFSIterator
DiEdge
DiGraph
Directed
DotVisitor
Edge
EdgeError
EdgeIterator
Graph
GraphError
GraphIterator
GraphSourceIterator
Labelable
LabeledDiGraph
LabeledGraph
LDiEdge
LEdge
MultiGraph
Undirected
Visitor
WDiEdge
WEdge
Weightable
WeightedDiGraph
WeightedGraph
WeightedLabeledDiGraph
WeightedLabeledGraph
Built with Crystal 1.9.2
2023-10-08 14:41:20 UTC
module
CGL::AnyEdge(V)
Direct including types
CGL::Directed(V)
CGL::Undirected(V)
Defined in:
cgl/edges.cr
Constructors
.new
(u : V, v : V)
Instance Method Summary
#clone
#to_tuple
#u
: V
#u=
(u : V)
#v
: V
#v=
(v : V)
Constructor Detail
def self.
new
(u : V, v : V)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
to_tuple
#
[
View source
]
def
u
: V
#
[
View source
]
def
u=
(u : V)
#
[
View source
]
def
v
: V
#
[
View source
]
def
v=
(v : V)
#
[
View source
]