Click or drag to resize

GraphAdd2Arcs Method

Adds the two opposite arcs between both specified nodes to the graph.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public void Add2Arcs(
	Node Node1,
	Node Node2,
	float Weight
)

Parameters

Node1
Type: PathfindingNode
Node2
Type: PathfindingNode
Weight
Type: SystemSingle
Exceptions
ExceptionCondition
ArgumentExceptionCannot add an arc if one of its extremity nodes does not belong to the graph.
See Also