Package jason.infra.repl
Class ReplAg
java.lang.Object
jason.asSemantics.Agent
jason.infra.repl.ReplAg
- All Implemented Interfaces:
ToDOM
,java.io.Serializable
- Direct Known Subclasses:
ReplAgGUI
public abstract class ReplAg extends Agent
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) int
cmdCounter
(package private) java.lang.String[]
replCmds
-
Constructor Summary
Constructors Constructor Description ReplAg()
-
Method Summary
Methods inherited from class jason.asSemantics.Agent
abolish, addBel, addFunction, addFunction, addInitialBel, addInitialBelsFromProjectInBB, addInitialBelsInBB, addInitialGoal, addInitialGoalsFromProjectInBB, addInitialGoalsInTS, believes, brf, brf, buf, clearAg, clone, create, delBel, findBel, getAgProgram, getAgState, getAsDOM, getASLSrc, getBB, getFunction, getIA, getInitialBels, getInitialGoals, getLogger, getPL, getScheduler, getTS, hasCustomSelectOption, importComponents, initAg, initAg, initDefaultFunctions, killAcc, load, loadAgSrc, loadKqmlPlans, parseAS, parseAS, parseAS, parseAS, parseAS, selectAction, selectEvent, selectIntention, selectMessage, selectOption, setASLSrc, setBB, setIA, setLogger, setPL, setTS, socAcc, stopAg, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
replCmds
java.lang.String[] replCmds -
cmdCounter
int cmdCounter
-
-
Constructor Details
-
ReplAg
public ReplAg()
-
-
Method Details
-
initAg
public void initAg()Description copied from class:Agent
Initialises the TS and other components of the agent -
load
public void load(java.lang.String asSrc) throws java.lang.ExceptionDescription copied from class:Agent
parse and load the initial agent code, asSrc may be null -
execCmd
void execCmd(java.lang.String sCmd) -
print
public void print(java.lang.String s) -
clear
public void clear()
-