|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object saci.Agent jason.infra.saci.SaciAgArch
public class SaciAgArch
This class provides an agent architecture when using SACI Infrastructure to run the MAS.
Execution sequence: initAg, run (perceive, checkMail, act), stopAg.
Field Summary | |
---|---|
protected jason.infra.saci.SaciAgArch.JasonBridgeArch |
jasonBridgeAgArch
|
Fields inherited from class saci.Agent |
---|
controlAg, mbox, mboxes, properties, running |
Constructor Summary | |
---|---|
SaciAgArch()
|
Method Summary | |
---|---|
RuntimeServicesInfraTier |
getRuntimeServices()
|
void |
informCycleFinished(boolean breakpoint,
int cycle)
Informs the infrastructure tier controller that the agent has finished its reasoning cycle (used in sync mode). |
void |
initAg(java.lang.String[] args)
Method used by SACI to initialise the agent: args[0] is the agent architecture class, args[1] is the user Agent class, args[2] is the user BB class, args[3] is the AgentSpeak source file, args[4] "options", args[5] options. |
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 |
Field Detail |
---|
protected jason.infra.saci.SaciAgArch.JasonBridgeArch jasonBridgeAgArch
Constructor Detail |
---|
public SaciAgArch()
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 void informCycleFinished(boolean breakpoint, int cycle)
breakpoint is true in case the agent selected one plan with the "breakpoint" annotation.
public RuntimeServicesInfraTier getRuntimeServices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |