Navigation: Code Documentation > RSCommon > GGraph > Classes > TWeightedEdge > Properties
TWeightedEdge.Weight Property
Represents the weight or cost for traversing the edge. This property can be used to set up travelling salesman or similar problems.
Namespace: GGraph
Delphi
published property Weight: TGraphWeight read FWeight write SetWeight;
Property Value
Type: TGraphWeight
•GGraph.TWeightedNode
•GGraph.TGCustomGraph.ShortestPath(TGGraphNode)
•TWeightedEdge
•GGraph