class

Crystalg::Graph::UndirectedGraph(C)

Inherits Crystalg::Graph::SpanningTree::Kruskal < Crystalg::Graph::ConnectedComponents::Bridges < Crystalg::Graph::ConnectedComponents::ArticulationPoints < Crystalg::Graph::Graph < Reference < Object

C: type of cost

Constructors

new(size : Int32)
Source

Instance methods

add(edge : Edge(C))
Source
adjacent_nodes(node_id : NodeID) : Array(Tuple(NodeID, C))
Source
edges
Source
size
Source