Professional Documents
Culture Documents
Actions
Total Cost
EXAMPLE OF PROBLEM SPACE
If one wants to make a cup of coffee.
What one have to do:
( Actions).
PROBLEM Given:
1.Two Jugs: one 4 gallon & one 3 gallon.
2. No measuring markers.
3. There is a pump that can be used to fill jug with
waters.
4. How can you get exactly 2 gallons of water in to 4-
gallon jug?
PROBLEM SPACE
Initial States– amount of water in both jugs.
Actions—Empty large/small, pour from
large/small
Goal—specified amount of water in both jug
Path cost—total no of actions applied