예제 #1
0
    def test_maze_graphics(self):
        T = model.anneal_ldst(n=5, phases=1, iters=1)
        D = model.dual_grid(self.G, T)
        D_pos = graphics.layout_maze(D)
        graphics.plot_maze(D, D_pos, T, self.G.pos)

        T.root = (0, 0)
        T.k = 5

        graphics.plot_graph_and_tree(self.G, T, 0)
예제 #2
0
 def test_ldst_anneal(self):
     model.anneal_ldst(n=5, phases=2, iters=10)