C# Class CodingPractice.Graph.DepthFirstSearch

Afficher le fichier Open project: cabhishek/algorithms-datastructures Class Usage Examples

Méthodes publiques

Méthode Description
DepthFirstSearch ( IWeightedGraph graph ) : System.Collections
search ( object startVertex, object endVertex ) : bool

Private Methods

Méthode Description
depthFirstSearch ( object startVertex, object endVertex ) : bool

returns true if path exists from startVertex to endVertex

Method Details

DepthFirstSearch() public méthode

public DepthFirstSearch ( IWeightedGraph graph ) : System.Collections
graph IWeightedGraph
Résultat System.Collections

search() public méthode

public search ( object startVertex, object endVertex ) : bool
startVertex object
endVertex object
Résultat bool