public class Planner extends Object
control.
For details on how the planner works, see the appropriate page in our wiki| Modifier and Type | Field and Description |
|---|---|
private static int |
ENOUGH_TIME |
private static double |
ENOUGH_TIME_FOR_PHASE |
static long |
loopStart |
static double |
nextTimePhaseEnds |
private static Script |
planningScript |
| Constructor and Description |
|---|
Planner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
proceed()
Executes the planning script by calling the plan object's
control method |
static void |
runGarbageCollectIfEnoughTime() |
private static void |
runGc() |
static void |
setPlanner(String planClassName)
Sets a new planner.
|
private static final double ENOUGH_TIME_FOR_PHASE
private static final int ENOUGH_TIME
private static Script planningScript
public static double nextTimePhaseEnds
public static long loopStart
public static void setPlanner(String planClassName)
planClassName - the class name of the planner within the ruby scriptpublic static void proceed()
control methodpublic static void runGarbageCollectIfEnoughTime()
private static void runGc()