|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object saci.Agent jason.infra.saci.SaciExecutionControl
public class SaciExecutionControl
Concrete execution control implementation based on saci distributed infrastructure.
Field Summary |
---|
Fields inherited from class saci.Agent |
---|
controlAg, mbox, mboxes, properties, running |
Constructor Summary | |
---|---|
SaciExecutionControl()
|
Method Summary | |
---|---|
org.w3c.dom.Document |
getAgState(java.lang.String agName)
Gets the agent state (beliefs, intentions, plans, ...) as an XML document |
RuntimeServicesInfraTier |
getRuntimeServices()
Gets an object with infrastructure runtime services |
ExecutionControl |
getUserControl()
|
void |
informAgToPerformCycle(java.lang.String agName,
int cycle)
Informs an agent to continue to its next reasoning cycle. |
void |
informAllAgsToPerformCycle(int cycle)
Informs all agents to continue to its next reasoning cycle. |
void |
initAg(java.lang.String[] args)
|
void |
run()
|
void |
stopAg()
|
Methods inherited from class saci.Agent |
---|
destroy, enterSoc, enterSoc, enterSoc, enterSociety, getControlAg, getLauncher, getMBox, getMBox, getName, getProperty, getSociety, isRunning, leaveAllSocs, leaveSoc, leaveSoc, move, moveMBoxesToLocalHost, onMoved, onMoving, setControlAg, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SaciExecutionControl()
Method Detail |
---|
public void initAg(java.lang.String[] args) throws JasonException
initAg
in interface saci.launcher.LaunchableAg
initAg
in class saci.Agent
JasonException
public void stopAg()
stopAg
in interface saci.launcher.LaunchableAg
stopAg
in class saci.Agent
public void run()
run
in interface java.lang.Runnable
run
in class saci.Agent
public ExecutionControl getUserControl()
public void informAgToPerformCycle(java.lang.String agName, int cycle)
ExecutionControlInfraTier
informAgToPerformCycle
in interface ExecutionControlInfraTier
public void informAllAgsToPerformCycle(int cycle)
ExecutionControlInfraTier
informAllAgsToPerformCycle
in interface ExecutionControlInfraTier
public org.w3c.dom.Document getAgState(java.lang.String agName)
ExecutionControlInfraTier
getAgState
in interface ExecutionControlInfraTier
public RuntimeServicesInfraTier getRuntimeServices()
ExecutionControlInfraTier
getRuntimeServices
in interface ExecutionControlInfraTier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |