Delegate Statics.SearchNeighbors<TNode>
Step function for all neigbors of a given node.
Namespace: Towel
Assembly: Towel.dll
Syntax
public delegate void SearchNeighbors<TNode>(TNode current, Action<TNode> neighbors);
Parameters
| Type | Name | Description |
|---|---|---|
| TNode | current | The node to step through all the neighbors of. |
| Action<TNode> | neighbors | Step function to perform on all neighbors. |
Type Parameters
| Name | Description |
|---|---|
| TNode | The node type of the graph being searched. |