Package | Description |
---|---|
casa |
The casa package is the main package for CASA (Collaborative Agent System
Architecture), which is an infrastructure for agent based systems.
|
casa.abcl | |
casa.ontology.v3 | |
casa.policy | |
casa.policy.sc3 | |
org.armedbear.lisp |
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.NewAgentLispCommand.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Modifier and Type | Class and Description |
---|---|
class |
LispException |
Modifier and Type | Method and Description |
---|---|
private Object |
CasaLispOperator.checkType(CasaLispOperator.Entry entry,
LispObject lispObj,
Environment env,
ParamsMap params) |
private LispObject |
CasaLispOperator.evalDefault(LispObject o,
Environment env)
Interpret the argument o in the context of the lisp environment.
|
LispObject |
CasaLispOperator.execute(LispObject args,
Environment env)
Interprets the lisp command according specification in the constructor and
calls
CasaLispOperator.execute(TransientAgent, ParamsMap, AgentUI, Environment) for the actual
implementation of the command with the appropriate parameters filled
out. |
abstract Status |
CasaLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
Subclasses need to override the method to implement the actual operator.
|
static Object |
Lisp.lispObj2JavaObj(LispObject o)
Given a LispObject, return the appropriate Java object:
SymbolString
ConsThe evaluation of the Cons (recursively interpreted once)
floatp() is trueFloat
integerp() is trueInteger
stringp() is trueString
javaInstance() is trueObject
|
private CasaLispOperator.Entry |
CasaLispOperator.readVar(LispObject def)
Read a variable from an atom that's either a simple "var" form
or the "(var default)" form (the "(var default svar)" form is not
yet implemented).
|
Modifier and Type | Method and Description |
---|---|
static Status |
CASAOntology.ontology_lispImpl(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Modifier and Type | Method and Description |
---|---|
protected StatusObject<List<Object>> |
Policy.executeConcequent(PolicyAgentInterface agent,
Status status,
Vector<AbstractPolicy> policyContext,
Event event,
Object eventInstanceInfo,
Map<String,LispObject> map) |
private static Policy.SCOpData |
Policy.getSCOpData(String op,
TransientAgent agent,
ParamsMap params,
Environment env) |
Modifier and Type | Method and Description |
---|---|
Object |
PolicyConsequentInterface.process(PolicyAgentInterface agent,
AgentUI ui,
Map<String,LispObject> lispBindings)
Executes the
#code as in the context of the agent and returns the object returned from
the lisp execution. |
Object |
PolicyConsequent.process(PolicyAgentInterface agent,
AgentUI ui,
Map<String,LispObject> bindings) |
Modifier and Type | Class and Description |
---|---|
class |
Go |
class |
Return |
class |
Throw |
Modifier and Type | Method and Description |
---|---|
private static void |
Interpreter.reportError(ControlTransfer c,
LispThread thread) |