C# Class CodingPractice.Graph.BreadthFirstSearch

ファイルを表示 Open project: cabhishek/algorithms-datastructures Class Usage Examples

Public Methods

Method Description
BreadthFirstSearch ( IWeightedGraph graph ) : System.Collections
search ( object startVertex, object endVertex ) : bool

Private Methods

Method Description
breadthFirstSearch ( object startVertex, object endVertex ) : bool

returns true if path exists from startVertex to endVertex

Method Details

BreadthFirstSearch() public method

public BreadthFirstSearch ( IWeightedGraph graph ) : System.Collections
graph IWeightedGraph
return System.Collections

search() public method

public search ( object startVertex, object endVertex ) : bool
startVertex object
endVertex object
return bool