MACS
Class RandomPlanner

java.lang.Object
  |
  +--MACS.AbstractPlanner
        |
        +--MACS.RandomPlanner

class RandomPlanner
extends AbstractPlanner

The RandomPlanner class defines the random choice of planning steps.

Author:
Olivier Sigaud and Pierre Gérard.

Field Summary
protected  int nbPlanningSteps
           
protected  MACS.MACSActionSelector selector
           
 
Constructor Summary
RandomPlanner(MACS.MACSActionSelector s, int nb)
           
 
Method Summary
 void updatePolicy(MACS.Anticipator anticipator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nbPlanningSteps

protected int nbPlanningSteps

selector

protected MACS.MACSActionSelector selector
Constructor Detail

RandomPlanner

public RandomPlanner(MACS.MACSActionSelector s,
                     int nb)
Method Detail

updatePolicy

public final void updatePolicy(MACS.Anticipator anticipator)
Specified by:
updatePolicy in class AbstractPlanner