public class StandardCommandCollector extends java.lang.Object implements CommandCollector
| Constructor and Description |
|---|
StandardCommandCollector() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Command> |
getAgentCommands(java.util.Collection<AgentProxy> agents,
int timestep)
Collect all commands from agents.
|
void |
initialise(Config config)
Initialise this command collector.
|
java.lang.String |
toString() |
public void initialise(Config config)
CommandCollectorinitialise in interface CommandCollectorconfig - The kernel configuration.public java.util.Collection<Command> getAgentCommands(java.util.Collection<AgentProxy> agents, int timestep) throws java.lang.InterruptedException
CommandCollectorgetAgentCommands in interface CommandCollectoragents - The agents.timestep - The timestep.java.lang.InterruptedException - If the thread is interrupted.public java.lang.String toString()
toString in class java.lang.Object