示例#1
0
def cmain(param):
    mes_funs = [globals()[param]]
    rooms_per_set = 5
    num_sets = 10
    room_limit = 40.0

    for i in range(num_sets):
        run_me.run_tests(mes_funs, rooms_per_set, room_limit, i)
示例#2
0
文件: run_beam.py 项目: hizki/AI1
def cmain(param):
    mes_funs =[globals()[param]]
    rooms_per_set = 5
    num_sets = 10
    room_limit = 40.0

    for i in range(num_sets):
        run_me.run_tests(mes_funs, rooms_per_set, room_limit, i)
示例#3
0
文件: run_astar.py 项目: hizki/AI1
def cmain(param, seed):
    mes_funs = [globals()[param]]
    rooms_per_set = 5
    room_limit = 300.0

    if seed == -1:
        num_sets = 10

        for i in range(num_sets):
            run_me.run_tests(mes_funs, rooms_per_set, room_limit, i)
    else:
        run_me.run_tests(mes_funs, rooms_per_set, room_limit, seed)
示例#4
0
文件: run_check.py 项目: hizki/AI1
def cmain(param):
    mes_funs = [globals()[param]]
    room_limit = 10.0
    run_me.run_tests(mes_funs, 0, room_limit, 1)
示例#5
0
文件: run_fast.py 项目: hizki/AI1
def main():
    mes_funs = [best_first, beam_width]
    count = 1
    room_limit = 0.1
    run_tests(mes_funs, count, room_limit)
示例#6
0
文件: run_check.py 项目: hizki/AI1
def cmain(param):
    mes_funs =[globals()[param]]
    room_limit = 10.0
    run_me.run_tests(mes_funs, 0, room_limit, 1)
示例#7
0
文件: run_fast.py 项目: hizki/AI1
def main():
    mes_funs =[best_first,beam_width]
    count= 1
    room_limit = 0.1
    run_tests(mes_funs, count, room_limit)