Beispiel #1
0
 def findSubpath(self, path, A, B):
     path = deepcopy(path)
     newpath = self._findSubpath(path, A, B)
     if newpath is None:
         path.invert()
         newpath = self._findSubpath(path, A, B)
     return newpath
Beispiel #2
0
	def findSubpath(self, path,A,B):
		path = deepcopy(path)
		newpath = self._findSubpath(path,A,B)
		if newpath is None:
			path.invert()
			newpath = self._findSubpath(path,A,B)
		return newpath