Class BreadthFirst<T>
Bread First Search implementation.
Namespace: Advanced.Algorithms.Graph
Assembly: Advanced.Algorithms.dll
Syntax
public class BreadthFirst<T> : object
Type Parameters
Name | Description |
---|---|
T |
Methods
Find(IGraph<T>, T)
Returns true if item exists.
Declaration
public bool Find(IGraph<T> graph, T vertex)
Parameters
Type | Name | Description |
---|---|---|
IGraph<T> | graph | |
T | vertex |
Returns
Type | Description |
---|---|
Boolean |