Esempio n. 1
0
 def discover_vertex(self, vertex, depth, graph):
     if depth > self.maxdepth:
         raise bfs.traversal_termination_exception(vertex)
     test_bfs_adaptor.discover_vertex(self, vertex, depth, graph)
    def discover_vertex(self, vertex, depth, graph):
	if depth > self.max_depth:
	    raise bfs.traversal_termination_exception(self.graph)