Graphlb::DataStructures::UnDirectedGraph
Inherits Reference / Object
The UnDirectedGraph class represents a graph with all the vertices and undirectededges
Constructors
Instance methods
add_edge(from_node : Node, to_node : Node, weight)
Add edges to the graph from the from_node to to_node with a given edge_weight
remove_edge(from_node : Node, to_node : Node)
Removes the edge form the from_node to the to_node present in the graph
vertices
Source