public class SampleCentre extends StandardAgent<Building>
config, connection, model, random| Constructor and Description |
|---|
SampleCentre() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.EnumSet<StandardEntityURN> |
getRequestedEntityURNsEnum()
Get an EnumSet containing requested entity URNs.
|
protected void |
think(int time,
ChangeSet changed,
java.util.Collection<Command> heard)
Notification that a timestep has started.
|
java.lang.String |
toString() |
createWorldModel, getRefuges, getRequestedEntityURNs, location, postConnect, sendClear, sendClear, sendExtinguish, sendLoad, sendMove, sendMove, sendRescue, sendRest, sendSay, sendSpeak, sendSubscribe, sendTell, sendUnload, shouldIndexconnect, getID, getPreferredNDC, me, postConnect, processMessage, processSensegetName, getPreferredLogContext, getPreferredRegistry, initialise, postConnect, processImmediately, send, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getPreferredLogContext, getPreferredRegistry, initialise, shutdownpublic java.lang.String toString()
toString in class java.lang.Objectprotected void think(int time,
ChangeSet changed,
java.util.Collection<Command> heard)
AbstractAgentthink in class AbstractAgent<StandardWorldModel,Building>time - The timestep.changed - The set of changes observed this timestep.heard - The set of communication messages this agent heard.protected java.util.EnumSet<StandardEntityURN> getRequestedEntityURNsEnum()
StandardAgentgetRequestedEntityURNsEnum in class StandardAgent<Building>