Oscarlsson / AI

School project in course Artificial Intelligence
1 stars 0 forks source link

Put it on the floor #7

Closed johnkarlsson closed 11 years ago

johnkarlsson commented 11 years ago

initialWorld har ingen holding. w2 håller i något.

Planner > handleOutput $ head $ P.runParser shrdPGF "put it on the floor" initialWorld O {action = Put, mBlocks = [], location = Floor [0,5,6,8]} Planner > handleOutput $ head $ P.runParser shrdPGF "put it on the floor" w2 O {action = Put, mBlocks = [], location = Floor [0,5,6,8]}

Den första borde fallera eftersom "it" syftar på något som inte finns (holding är tom) Den andra borde väl ha mBlocks = [holdingblocket]

Carro commented 11 years ago

Fixat!

Carro commented 11 years ago

Däremot klarar inte Plannern det. Vi får timeout när vi försöker köra det