Class BiDirectional<T>
A BiDirectional Path Search on DiGraph.
Inherited Members
Namespace: Advanced.Algorithms.Graph
Assembly: Advanced.Algorithms.dll
Syntax
public class BiDirectional<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
PathExists(IGraph<T>, T, T)
Returns true if Path exists from source to destination.
Declaration
public bool PathExists(IGraph<T> graph, T source, T destination)
Parameters
| Type | Name | Description |
|---|---|---|
| IGraph<T> | graph | |
| T | source | |
| T | destination |
Returns
| Type | Description |
|---|---|
| Boolean |