Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GGraph > Classes > TWeightedNode > Methods

TWeightedNode.ClosestNode(Boolean) Method

Scroll Prev Top Next More

Finds the closest, directly connected node to the current node. This method examines the node's list of connected nodes and finds the edge that has the smallest weight and whose node's Visited property equals the Visited parameter.

If there is no directly connected nodes, this function returns nil.

Namespace: GGraph



Type: Boolean

Return Value

Type: TGGraphNode

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb