public interface Agent extends EventListener
Modifier and Type | Method and Description |
---|---|
double |
getPayoff() |
double |
getPayoffDelta() |
Strategy |
getStrategy() |
void |
initialise()
Initialise the agent.
|
boolean |
isInteracted()
Find out whether the agent has interacted with the environment or other
agents.
|
void |
setScheduler(EventScheduler eventScheduler)
Set the event scheduler for this agent.
|
void |
setStrategy(Strategy strategy)
Configure the current
Strategy for this agent. |
eventOccurred
double getPayoff()
double getPayoffDelta()
void initialise()
boolean isInteracted()
void setScheduler(EventScheduler eventScheduler)
Strategy getStrategy()
Strategy
used by this agent.void setStrategy(Strategy strategy)
Strategy
for this agent.Copyright © 2014. All rights reserved.