public class RoundBasedExecutor extends SimplePropertyObject implements ISpaceExecutor
| Modifier and Type | Field and Description |
|---|---|
static String |
MODE_LASTACTION
The value for the last action execution mode.
|
static String |
PROPERTY_MODE
The property for the action execution mode.
|
| Constructor and Description |
|---|
RoundBasedExecutor()
Creates a new round based executor.
|
RoundBasedExecutor(AbstractEnvironmentSpace space)
Creates a new round based executor.
|
RoundBasedExecutor(AbstractEnvironmentSpace space,
Comparator acomp)
Creates a new round based executor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Start the space executor.
|
void |
terminate()
Terminate the space executor.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProperty, getPropertyNames, hasProperty, setPropertypublic static final String PROPERTY_MODE
public static final String MODE_LASTACTION
public RoundBasedExecutor()
public RoundBasedExecutor(AbstractEnvironmentSpace space)
space - The space.clockservice - The clock service.public RoundBasedExecutor(AbstractEnvironmentSpace space, Comparator acomp)
space - The space.clockservice - The clock service.acomp - The action comparator.public void start()
start in interface ISpaceExecutorpublic void terminate()
terminate in interface ISpaceExecutorCopyright © 2012. All Rights Reserved.