Lines Matching refs:hanoi
6 Usage: hanoi.py [n [bitmapfile]]
19 def hanoi(n, a, b, c, report):
21 hanoi(n-1, a, c, b, report)
23 hanoi(n-1, c, b, a, report)
81 hanoi(self.n, 0, 1, 2, self.report)
82 hanoi(self.n, 1, 2, 0, self.report)
83 hanoi(self.n, 2, 0, 1, self.report)
84 hanoi(self.n, 0, 2, 1, self.report)
85 hanoi(self.n, 2, 1, 0, self.report)
86 hanoi(self.n, 1, 0, 2, self.report)
88 # Reporting callback for the actual hanoi function