Crystalg::Graph::DirectedGraph(C)
Inherits Crystalg::Graph::ShortestPath::Dijkstra < Crystalg::Graph::ConnectedComponents::CycleDetection < Crystalg::Graph::Graph < Reference < Object
C: type of cost
Constructors
new(size : Int32)
SourceInstance methods
add(edge : Edge(C))
Sourceadjacent_nodes(node_id : NodeID) : Array(Tuple(C, NodeID))
Sourceedges
Sourcesize
Sourcetopological_sort
Source