Delegate Statics.SearchGoal<TNode>
Predicate for determining if we have reached the goal node.
Namespace: Towel
Assembly: Towel.dll
Syntax
public delegate bool SearchGoal<TNode>(TNode current);
Parameters
Type | Name | Description |
---|---|---|
TNode | current | The current node. |
Returns
Type | Description |
---|---|
System.Boolean | True if the current node is a/the goal node; False if not. |
Type Parameters
Name | Description |
---|---|
TNode | The node type of the graph being searched. |