Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdcc55b

Browse files
Minor docstring changes
1 parent c631aa0 commit fdcc55b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

planning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class PDLL:
99
"""
10-
PDLL used to deine a search problem
10+
PDLL used to define a search problem
1111
It stores states in a knowledge base consisting of first order logic statements
1212
The conjunction of these logical statements completely define a state
1313
"""
@@ -123,7 +123,7 @@ def goal_test(kb):
123123
effect_rem = [expr("In(c, p)")]
124124
unload = Action(expr("Unload(c, p, a)"), [precond_pos, precond_neg], [effect_add, effect_rem])
125125

126-
# Load
126+
# Fly
127127
# Used used 'f' instead of 'from' because 'from' is a python keyword and expr uses eval() function
128128
precond_pos = [expr("At(p, f)"), expr("Plane(p)"), expr("Airport(f)"), expr("Airport(to)")]
129129
precond_neg = []

0 commit comments

Comments
 (0)