|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agentfactory.cldc.scheduler.AgentRunnable
com.agentfactory.cldc.BasicRunnable
public class BasicRunnable
This class provides basic functionality for executing an agent. It is used in environments where there is no GUI functionality (such as the Stargate WSN gateway node), therefore is does not provide a GUI debugging interface.
| Constructor Summary | |
|---|---|
BasicRunnable(Agent a)
Creates a new instance of BasicRunnable. |
|
| Method Summary | |
|---|---|
void |
display()
This method is left blank in the BasicRunnable since there is no GUI functionality provided. |
void |
run()
This method updates the agent's beliefs and then steps one cycle of the agent's control process. |
void |
start()
This method is left blank in the BasicRunnable class since there is no GUI for starting or stopping an agent. |
void |
stop()
This method is left blank in the BasicRunnable class since there is no GUI for starting or stopping an agent. |
| Methods inherited from class com.agentfactory.cldc.scheduler.AgentRunnable |
|---|
addFOSBelief, writeToStream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicRunnable(Agent a)
a - the agent that is to be executed.| Method Detail |
|---|
public void start()
start in class AgentRunnablepublic void stop()
stop in class AgentRunnablepublic void display()
display in class AgentRunnablepublic void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||