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