Method GetNeighbors
GetNeighbors(T)
Gets the neighbors for the specified node.
Declaration
public List<T> GetNeighbors(T node)
Parameters
| Type | Name | Description |
|---|---|---|
| T | node | The node to query. |
Returns
| Type | Description |
|---|---|
| List<T> | A list of neighboring nodes. |