Esempio n. 1
0
 def find_paths(self):
     return graph_analyse.find_paths(
         self.matrix) + graph_analyse.find_loops(self.matrix)
Esempio n. 2
0
 def find_paths(self):
     return graph_analyse.find_paths(self.matrix) + graph_analyse.find_loops(self.matrix)
Esempio n. 3
0
 def find_loops(self):
     loops = graph_analyse.find_loops(self.matrix)
     loops = list(
         set([tuple(graph_analyse.loop_from_looppath(x)) for x in loops]))
     return loops
Esempio n. 4
0
 def find_loops(self):
     loops = graph_analyse.find_loops(self.matrix)
     loops = list(set([tuple(graph_analyse.loop_from_looppath(x)) for x in loops]))
     return loops