C# 클래스 CodingPractice.Graph.DepthFirstSearch

파일 보기 프로젝트 열기: cabhishek/algorithms-datastructures 1 사용 예제들

공개 메소드들

메소드 설명
DepthFirstSearch ( IWeightedGraph graph ) : System.Collections
search ( object startVertex, object endVertex ) : bool

비공개 메소드들

메소드 설명
depthFirstSearch ( object startVertex, object endVertex ) : bool

returns true if path exists from startVertex to endVertex

메소드 상세

DepthFirstSearch() 공개 메소드

public DepthFirstSearch ( IWeightedGraph graph ) : System.Collections
graph IWeightedGraph
리턴 System.Collections

search() 공개 메소드

public search ( object startVertex, object endVertex ) : bool
startVertex object
endVertex object
리턴 bool