|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.kernel.Scheduler
dynamicbees.BeeScheduler
public class BeeScheduler
| Constructor Summary | |
|---|---|
BeeScheduler()
|
|
BeeScheduler(int d)
|
|
| Method Summary | |
|---|---|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
void |
end()
This method is called by the agent micro-kernel at the end of the agent lifecycle. |
int |
getDelay()
|
void |
live()
This method defines the main behavior for threaded agents. |
void |
setDelay(int v)
|
| Methods inherited from class madkit.kernel.Scheduler |
|---|
addActivator, addActivator, getActivators, removeActivator, removeAllActivators |
| Methods inherited from class madkit.kernel.Agent |
|---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeeScheduler()
public BeeScheduler(int d)
| Method Detail |
|---|
public int getDelay()
public void setDelay(int v)
public void activate()
AbstractAgent
activate in class AbstractAgentpublic void live()
Agent
live in class Agentpublic void end()
AbstractAgent
end in class Scheduler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||