?? hungry.pro
字號(hào):
/* HUNGRY.PRO */
run1 :-
warplan([ available(secretary) ],
[ not_hungry ]).
precond(visit(cafeteria), [ can_locate(cafeteria)]).
precond(visit(vending_machine), [ can_locate(vending_machine),
have(change)]).
precond(visit(office), []).
precond(visit(secretary), [ can_locate(secretary),
available(secretary)]).
precond(visit(colleague), []).
imposs([hungry,not_hungry]).
del(visit(cafeteria), hungry).
del(visit(vending_machine), hungry).
add(visit(cafeteria), not_hungry).
add(visit(colleague), can_locate(_)).
add(visit(office), can_locate(_)).
add(visit(office), have(change)).
add(visit(secretary), can_locate(_)).
add(visit(secretary), have(change)).
add(visit(vending_machine), not_hungry).
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -