コード例 #1
0
def generateplan():
    clingopath = "clingcon"
    initial = "initial.lp"
    goal = "goal.lp"
    planning = "taxi-bk.lp"
    qvalue = "q.lp"
    return planner.compute_plan(clingopath=clingopath,
                                initial=initial,
                                goal=goal,
                                planning=planning,
                                qvalue=qvalue,
                                printout=True)
コード例 #2
0
ファイル: test_SDRL.py プロジェクト: ZHMA1996/SDRL-Montezuma
def generateplan():
    clingopath = "clingo"
    #    initial = "initial.lp"
    goal = "goal.lp"
    planning = "montezuma_basic.lp"
    qvalue = "q.lp"
    constraint = "constraint.lp"
    return planner.compute_plan(clingopath=clingopath,
                                goal=goal,
                                planning=planning,
                                qvalue=qvalue,
                                constraint=constraint,
                                printout=True)