Show / Hide Table of Contents

Delegate Statics.SearchHeuristic<TNode, TNumeric>

Computes the heuristic value of a given node in a graph (smaller values mean closer to goal node).

Namespace: Towel
Assembly: Towel.dll
Syntax
public delegate TNumeric SearchHeuristic<TNode, TNumeric>(TNode node);
Parameters
Type Name Description
TNode node

The node to compute the heuristic value of.

Returns
Type Description
TNumeric

The computed heuristic value for this node.

Type Parameters
Name Description
TNode

The node type of the graph being searched.

TNumeric

The numeric to use when performing calculations.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX