コード例 #1
0
ファイル: test_a_star.py プロジェクト: PhiPhiper/pyperplan
def test_ordered_node_astar4():
    h_val = h4(root4)
    assert a_star.ordered_node_astar(root4, h_val, 0) == (15, 15, 0, root4)
コード例 #2
0
ファイル: test_a_star.py プロジェクト: PhiPhiper/pyperplan
def test_ordered_node_astar2():
    h_val = h2(root2)
    assert a_star.ordered_node_astar(root2, h_val, 0) == (5, 5, 0, root2)
コード例 #3
0
ファイル: test_a_star.py プロジェクト: PhiPhiper/pyperplan
def test_ordered_node_astar3():
    h_val = h3(root3)
    assert a_star.ordered_node_astar(root3, h_val, 0) == (4, 4, 0, root3)
コード例 #4
0
ファイル: test_a_star.py プロジェクト: PhiPhiper/pyperplan
def test_ordered_node_astar1():
    h_val = h1(root1)
    assert a_star.ordered_node_astar(root1, h_val, 0) == (0, 0, 0, root1)
コード例 #5
0
def test_ordered_node_astar4():
    h_val = h4(root4)
    assert a_star.ordered_node_astar(root4, h_val, 0) == (15, 15, 0, root4)
コード例 #6
0
def test_ordered_node_astar3():
    h_val = h3(root3)
    assert a_star.ordered_node_astar(root3, h_val, 0) == (4, 4, 0, root3)
コード例 #7
0
def test_ordered_node_astar2():
    h_val = h2(root2)
    assert a_star.ordered_node_astar(root2, h_val, 0) == (5, 5, 0, root2)
コード例 #8
0
def test_ordered_node_astar1():
    h_val = h1(root1)
    assert a_star.ordered_node_astar(root1, h_val, 0) == (0, 0, 0, root1)