INodeTSelfHeuristic Method
Heuristic function to estimate distances between this node an the other node. For IDA* to work properly, it needs to be admissible (optimistic), meaning heuristic(a,b) <= distance(a,b).
Namespace: SimpleAIPlayerAssembly: SimpleAIPlayer (in SimpleAIPlayer.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
int Heuristic(
TSelf other
)
- other TSelf
- The node to estimate the distance to.
Int32The estimated distance between the nodes.