Patrollers

version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: DirectionLed
    The patroller's route is defined by a table of directions that the patroller follows. if we use a DirectionLed patroller we have to define a DirectionTable. The first direction in the table should be the direction the patroller takes from the initial location of the patroller. The extension does not check whether the patroller can follow each of the directions in the table.
        The dog is a Patroller in the Dog Kennel. The dog is DirectionLed.
        The DirectionTable of the dog is the Table of Walkies.
        Table of Walkies
      TargetDirection  
      North  
      East  
      Southwest  
      Up