Class ExploreMapPlan


  • public class ExploreMapPlan
    extends java.lang.Object
    Plan to explore the map by going to the seldom visited positions. Uses the absolute quantity to go to positions that are not yet explored.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CleanerAgent capa  
      protected java.util.Random rnd
      Random number generator.
      protected IPlan rplan  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExploreMapPlan()
      Create a new plan.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture<java.lang.Void> body()
      The plan body.
      protected java.util.List<MapPoint> getMinQuantity()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rplan

        protected IPlan rplan
      • rnd

        protected java.util.Random rnd
        Random number generator.
    • Constructor Detail

      • ExploreMapPlan

        public ExploreMapPlan()
        Create a new plan.
    • Method Detail

      • body

        public IFuture<java.lang.Void> body()
        The plan body.
      • getMinQuantity

        protected java.util.List<MapPoint> getMinQuantity()