Show/Hide Toolbars

RiverSoftAVG Products Help

The TWeightedEdge class is a descendant of the GGraph.TGGraphEdge class, it represents an edge in a weighted graph.

The TWeightedEdge class connects nodes ( GGraph.TGGraphNode objects and descendants) in a graph and contains a weight (or cost such as for a travelling salesman problem). The TWeightedEdge class is an undirected edge by its nature. The GGraph.TGCustomGraph class defines whether the edge is directed or undirected. In undirected graphs, the same edge appears in both the FromNode and ToNode edge lists. The FromNode is responsible for managing the edge's memory (freeing it).

Namespace: GGraph

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb