Méthode | Description | |
---|---|---|
DepthFirstSearch ( IWeightedGraph graph ) : System.Collections | ||
search ( object startVertex, object endVertex ) : bool |
Méthode | Description | |
---|---|---|
depthFirstSearch ( object startVertex, object endVertex ) : bool |
returns true if path exists from startVertex to endVertex
|
public DepthFirstSearch ( IWeightedGraph graph ) : System.Collections | ||
graph | IWeightedGraph | |
Résultat | System.Collections |
public search ( object startVertex, object endVertex ) : bool | ||
startVertex | object | |
endVertex | object | |
Résultat | bool |