Class LeastSeenWalkPlan


  • public class LeastSeenWalkPlan
    extends java.lang.Object
    Walk to the least visited positions. Uses a relative measure to go to seldom seen positions.
    • 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
      LeastSeenWalkPlan()
      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> getMinSeen()  
      • 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

      • LeastSeenWalkPlan

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

      • body

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

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