Method | Description | |
---|---|---|
BreadthFirstSearch ( IWeightedGraph graph ) : System.Collections | ||
search ( object startVertex, object endVertex ) : bool |
Method | Description | |
---|---|---|
breadthFirstSearch ( object startVertex, object endVertex ) : bool |
returns true if path exists from startVertex to endVertex
|
public BreadthFirstSearch ( IWeightedGraph graph ) : System.Collections | ||
graph | IWeightedGraph | |
return | System.Collections |
public search ( object startVertex, object endVertex ) : bool | ||
startVertex | object | |
endVertex | object | |
return | bool |