public interface CommunicationModel
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Command> |
getHearing(Entity agent)
Get the set of hear commands an agent can hear.
|
void |
initialise(Config config,
WorldModel<? extends Entity> world)
Initialise this communication model.
|
void |
process(int time,
java.util.Collection<? extends Command> agentCommands)
Process a set of agent commands and work out what communications each agent can hear.
|
void initialise(Config config, WorldModel<? extends Entity> world)
config
- The kernel configuration.world
- The world model.void process(int time, java.util.Collection<? extends Command> agentCommands)
time
- The current time.agentCommands
- The set of all agent commands this timestep.