ShapeNodeHeuristic Method

Heuristic function to estimate distances between this node an the other node. Returns 0 if the nodes are equal, otherwise returns 1.

Definition

Namespace: SimpleAIPlayer
Assembly: SimpleAIPlayer (in SimpleAIPlayer.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public int Heuristic(
	ShapeNode other
)

Parameters

other  ShapeNode

Return Value

Int32
The estimated distance between the nodes.

Implements

INodeTSelfHeuristic(TSelf)

See Also