|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Agent
A simulated agent. Every agent has a strategy, which specifies the behaviour of the agent.

| Method Summary | |
|---|---|
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. |
| Methods inherited from interface net.sourceforge.jabm.event.EventListener |
|---|
eventOccurred |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||