What are the actions, preconditions and effects? What are the relevant variables?
  • The actions could be something like goByBike and goByCar. In a very simple representation, there are variables loc, haveBike, and haveCar, indicating location, whether or not you have a bike (t/f), and whether or not you have a car (t/f). The precondition for goByBike is that haveBike = true, and likewise the precondition for goByCar is that haveCar = true. The effect of each action is that loc = UBC.

Valid HTML 4.0 Transitional