Package | Description |
---|---|
<Unnamed> | |
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.actions.rf3 | |
casa.actions.rk | |
casa.agentCom |
The package (agentCom = "Agent
Communications") handles connections between agents. The class Channel
is an abstraction of a communication channel.
|
casa.auction | |
casa.conversation2 | |
casa.demo | |
casa.event |
Contains classes that implement Events (see
Event ),
which are used to describe dependencies (including time expiry or time
intervals) among things like social commitments and deferred code. |
casa.interfaces |
Contains classes for important
interfaces used in CASA. |
casa.ontology | |
casa.ontology.owl2 | |
casa.ontology.v3 | |
casa.policy | |
casa.service |
Contains classes implementing classes for service agents.
|
casa.socialcommitments |
Contains classes implementing social commitments.
|
casa.socialcommitments.operators | |
casa.testAgents | |
casa.ui |
Contains classes implementing CASA's default user interfaces.
|
casa.util |
Contains classes implementing various utility class for CASA.
|
iRobotCreate | |
iRobotCreate.simulator |
This package offers a simulator environment for these robots.
|
Modifier and Type | Method and Description |
---|---|
Status |
DrEvil.again(Integer speed,
Integer radius)
Same command with parameters for speed and radius.
|
Status |
DrEvil.poke()
VERY simple Lisp command to make a robot turn.
|
Status |
DrEvil.push(Integer speed)
Same Lisp command, but add a parameter for the speed.
NOTICE: Sleep is bad! |
Modifier and Type | Class and Description |
---|---|
class |
PerformDescriptor
Title: CASA Agent Infrastructure
|
class |
StatusAdvertisementDescriptorList
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
StatusMLMessageList
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
StatusObject<T>
a class that extends the functionality of Status to include a generic object
|
class |
StatusObjectList
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
StatusString
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
StatusURLandFile |
class |
StatusURLDescriptor |
class |
StatusURLDescriptorList
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
Modifier and Type | Field and Description |
---|---|
Status |
TransientAgent.abclEvalInAgentThread.result |
private Status |
PerformDescriptor.status
This seems odd, but this allows PerformDescriptor to "absorb" a different subtype (eg:
StatusObject )
as it's internal structure. |
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.abclEval(Cons cons,
Map<String,LispObject> lispBindings) |
Status |
TransientAgent.abclEval(String c,
Map<String,LispObject> lispBindings) |
Status |
TransientAgent.abclEval(String c,
Map<String,LispObject> newEnvBindings,
AgentUI ui)
Executes lisp code and returns a result.
|
Status |
YellowPagesAgent.advertise(AdvertisementDescriptor advertisement)
Adds the given advertisement to the list of current advertisements.
|
Status |
TransientAgent.doAddObserver(URLDescriptor observableAgentUrl,
String... types)
Creates a new add_observer request.
|
Status |
TransientAgent.doAdvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to advertises a service.
|
Status |
TransientAgent.doCDGetMembers(URLDescriptor cdURL)
Sends a message to retrieve the list of participants in a the specified
coopertation domain.
|
Status |
CooperationDomainObserver.doCDObserveMessages(URLDescriptor cdURL,
boolean sense)
Sends a subscribe message to start/stop the observation of forwarded
messages in a cooperation domain.
|
Status |
TransientAgent.doCDPutData(URLDescriptor cdURL,
DataStorageDescriptor dsd)
Attempts to store data with a cooperation domain.
|
Status |
TransientAgent.doCDSubscribeMembership(URLDescriptor cdURL,
boolean sense)
Sends a subscribe message to start/stop the observation of membership in a
cooperation domain.
|
Status |
TransientAgent.doGetOnology(URLDescriptor url,
String GET_PERFORMATIVESorGET_ACTS,
String typeName)
Sends a message to retrieve information about the performatives in the
performative type library of another agent.
|
Status |
TransientAgent.doInviteToCD(URLDescriptor agent,
URLDescriptor cd,
boolean sense)
Requests an agent to join a particular cooperation domain.
|
Status |
TransientAgent.doJoinCD(URLDescriptor cdURL)
Join a cooperation domain.
|
Status |
TransientAgent.doPing(URLDescriptor agent,
long timeout)
Pings another agent.
|
Status |
TransientAgent.doRegisterAgentInstance(int lacPort) |
Status |
TransientAgent.doRegisterAgentInstance(int lacPort,
RunnableWithParameter<MLMessage> successAction,
RunnableWithParameter<MLMessage> failureAction)
Registers this Agent with the LAC.
|
Status |
TransientAgent.doResolveURL(URLDescriptor url,
long timeout,
Runnable1<String,Status> cmd)
Sends a the request to the appropriate LAC to resolve the URL.
|
Status |
TransientAgent.doUnadvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to withdraw a previously
advertised service from a yellow pages service.
|
Status |
TransientAgent.doUnregisterAgentInstance(boolean request)
Unregisters this Agent from the LAC.
|
Status |
TransientAgent.doUnregisterAgentType(int LACport)
Unregisters this Agent with the LAC.
|
Status |
TransientAgent.doWithdrawCD(URLDescriptor cdURL,
boolean request)
Withdraw from a cooperation domain.
|
Status |
TransientAgent.NewAgentLispCommand.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Status |
TransientAgent.executeCommand(String command,
AgentUI ui)
Used to execute a command string at runtime.
|
static Status |
Status.fromString2(String in) |
Status |
PerformDescriptor.getStatus() |
Status |
MLMessage.getStatusParameter(String key) |
Status |
MLMessage.getStatusParameter(String key,
Status defaultValue) |
protected Status |
TransientAgent.handleErrorReplies(MLMessage msg,
String requestType)
Deal with the various error subtypes of reply by constructing an
appropriate Status (with explanation String).
|
protected Status |
SecureProxy.handleForwardMessage(MLMessage message)
Handles all messages that are directed to the protected agent.
|
protected Status |
AgentProxy.handleForwardMessage(MLMessage message)
Handles all messages that should be forwarded to the proxied agent.
|
protected Status |
TransientAgent.handleLACClosing()
Called when the LAC informs the agent that it is closing.
|
Status |
CASAProcess.informAgent_GUIOperationRequest(URLDescriptor receiverURL,
String content) |
Status |
CooperationDomain.join(URLDescriptor joiner)
Adds the specified agent to the list of current members and notifies any
agents that are observing membership that a new member has joined the
cooperation domain.
|
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInAnotherProc(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
URLDescriptor url) |
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInNewProc(TransientAgent agent,
ParamsMap params) |
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInThisProc(ParamsMap params,
AgentUI ui) |
Status |
CooperationDomain.observeMessages(URLDescriptor agent,
String replyWith,
boolean addIfTrue)
Adds or removes the given agent to/from the message notification list.
|
Status |
Agent.putDataObject(DataStorageDescriptor dsd)
Stores some data for this agent based on the specified
DataStorageDescriptor . |
Status |
Agent.putDataObject(String data,
String dataObjectName,
boolean append)
Stores a
DataDescriptor for this agent to the specified
data object. |
Status |
TransientAgent.putExtendedOntology(String spec)
Deprecated.
|
Status |
TransientAgent.putReplacementOntology(String types)
Deprecated.
|
Status |
LAC.registerAgentType(String path,
RunDescriptor r)
Registers an agent type according to
LACInterface.registerAgentType(String RunDescriptor).
|
Status |
YellowPagesAgent.removeAdvertisement(AdvertisementDescriptor advertisement)
Removes the given advertisement from the list of current advertisements.
|
Status |
TransientAgent.requestInstances(String pattern) |
protected Status |
TransientAgent.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
Attempts to resolve the url of the reciever field of a message.
|
protected Status |
AbstractProcess.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
This method may be overridden by a subclass to handle a ConnectionException
during a call to sendMessage(MLMessage).
|
Status |
LAC.resolveURL(URLDescriptor url)
Attempts to resolve a URL by the following method:
checks for matching registered agent instances and updates url
and returns if a match is found.
|
protected Status |
YellowPagesAgent.respondToAdvertise(MLMessage message) |
protected Status |
YellowPagesAgent.respondToRemoveAdvertisement(MLMessage message) |
protected Status |
YellowPagesAgent.respondToSearch(MLMessage message) |
Status |
LAC.runAgent(URLDescriptor url)
Run an agent based on the parameter URL.
|
private Status |
CooperationDomain.sendForwardedMessage(MLMessage message)
Deprecated.
|
(package private) Status |
AbstractProcess.sendMessage_primitive(MLMessage message,
boolean... shouldResolve)
Sends the message to the the message.receiver or, if
message.receiver is missing or empty, to message.to.
|
Status |
AbstractProcess.sendMessage(MLMessage message)
Sends the message to the the message.receiver or, if
message.receiver is missing or empty, to message.to.
|
Status |
AbstractProcess.sendMessage(String performative,
String act,
URLDescriptor reciever,
String... list)
Utility method to construct and send a message asynchronously using
AbstractProcess.sendMessage(MLMessage) . |
protected Status |
TransientAgent.setInstancesFound(MLMessage message) |
Status |
Status.setStatus(int status,
String explanation) |
private static Status |
CASACommandLine2.startAgent(AgentUI ui)
Deprecated.
|
protected Status |
TransientAgent.template_handleNewOntologyInfo(MLMessage msg,
String types)
Template method called by handleReply_GetTypes() to do whatever the agent
wants to do with the new type information.
|
Status |
LAC.unregisterAgentInstance(URLDescriptor newURL)
Unregisters an agent instance according to LACInterface.unregisterAgentInstance(URLDescriptor).
|
Status |
LAC.unregisterAgentType(String path)
Unregisters an agent instance according to
LACInterface.unregisterAgentType(String).
|
Status |
CooperationDomain.withdraw(URLDescriptor member)
Removes the specified agent from the list of current members and notifies
any agents that are observing membership that a member has withdrawn from
the cooperation domain.
|
Modifier and Type | Method and Description |
---|---|
static void |
Status.fromString(TokenParser parser,
Status status) |
Status |
MLMessage.getStatusParameter(String key,
Status defaultValue) |
String |
AbstractProcess.println(String traceTag,
String txt,
Status tempStatus)
Deprecated.
|
PerformDescriptor |
PerformDescriptor.setStatus(Status status) |
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.doResolveURL(URLDescriptor url,
long timeout,
Runnable1<String,Status> cmd)
Sends a the request to the appropriate LAC to resolve the URL.
|
protected Status |
TransientAgent.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
Attempts to resolve the url of the reciever field of a message.
|
protected Status |
AbstractProcess.resolveConnectException(MLMessage msg,
Runnable1<String,Status> cmd)
This method may be overridden by a subclass to handle a ConnectionException
during a call to sendMessage(MLMessage).
|
Constructor and Description |
---|
PerformDescriptor(Status status)
Constructs a new PerformDescriptor.
|
Status(Status s)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static Status |
Lisp.abclEval(TransientAgent agent,
Environment env,
Map<String,LispObject> newEnvBindings,
String c,
AgentUI ui) |
abstract Status |
CasaLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
Subclasses need to override the method to implement the actual operator.
|
Modifier and Type | Method and Description |
---|---|
Status |
Action.execute(Object... theParameters)
Execute the action, but ONLY if the preconditions are satisfied.
|
Status |
AbstractAction.execute(Object... theParameters)
If
AbstractAction.isEnabled() returns true, then calls AbstractAction.run(Object...) with the parameters of this method. |
protected Status |
While.run(Object... theParameters) |
protected Status |
Conditional.run(Object... theParameters)
Finds the first pair in which the Condition is satisfied AND the preconditions of the Action
are satisfied, and calls
AbstractAction.execute(Object...) on that Action with this method's parameters,
returning the result. |
protected Status |
CompositeActionTest.TestAction.run(Object... theParameters) |
Status |
CompositeAction.run(Object... theParameters) |
protected abstract Status |
AbstractAction.run(Object... theParameters)
This is the actual action of the action.
|
Modifier and Type | Method and Description |
---|---|
Status |
Seq.execute(Object... paramValues) |
Status |
LispAction.execute(Object... args)
The lisp code that was passed as a constructor parameter is executed.
|
Status |
CompositeAction.execute(Object... paramValues)
Execute all or some subset of the actions in the order specified by the iterator.
|
abstract Status |
Action.execute(Object... paramValues)
Perform the action.
|
Modifier and Type | Method and Description |
---|---|
protected int |
TestActions.getIntFromStatus(Status stat) |
Modifier and Type | Method and Description |
---|---|
Status |
URLDescriptor.sendMessage(AbstractProcess sender,
MLMessage message) |
Status |
TCPChannel.sendMessage(AbstractProcess sender,
MLMessage message)
This method doesn't actually immediately send a message right away, but queues the message for
sending once the socket is write-ready.
|
Status |
DirectChannel.sendMessage(AbstractProcess sender,
MLMessage msg) |
Status |
Channel.sendMessage(AbstractProcess sender,
MLMessage msg)
Send a message to the to the agent specified in the RECEIVER field of the msg.
|
Modifier and Type | Method and Description |
---|---|
Status |
AuctionCD.withdraw(URLDescriptor member) |
Modifier and Type | Field and Description |
---|---|
(package private) Runnable1<Event,Status> |
Runnable1Action.runnable |
Modifier and Type | Method and Description |
---|---|
Status |
Runnable1Action.execute(Event event) |
Status |
LispAction.execute(Event event) |
Status |
Action.execute(Event event) |
Modifier and Type | Method and Description |
---|---|
Runnable1<Event,Status> |
Runnable1Action.getAction() |
Modifier and Type | Method and Description |
---|---|
void |
Runnable1Action.setAction(Runnable1<Event,Status> action) |
Modifier and Type | Method and Description |
---|---|
Status |
TimeSuper.sendMessage(MLMessage msg) |
Modifier and Type | Method and Description |
---|---|
Status |
EventDescriptor.EventDescriptorLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
the execute command
|
Status |
EventDescriptor.isApplicable(PolicyAgentInterface agent,
Event event)
Returns true if event descriptor matches the event in the context of
the agent.
|
Modifier and Type | Method and Description |
---|---|
Status |
PolicyAgentInterface.abclEval(Cons cons,
Map<String,LispObject> lispBindings) |
Status |
PolicyAgentInterface.abclEval(String c,
Map<String,LispObject> lispBindings) |
Status |
PolicyAgentInterface.abclEval(String c,
Map<String,LispObject> newEnvBindings,
AgentUI ui) |
Status |
YellowPagesAgentInterface.advertise(AdvertisementDescriptor advertisement)
Adds the given advertisement to the list of current advertisements.
|
Status |
TransientAgentInterface.doAdvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to advertises a service.
|
Status |
TransientAgentInterface.doCDGetMembers(URLDescriptor cd)
Attempts to retrieve the list of participants in a the specified cooperation domain.
|
Status |
TransientAgentInterface.doCDPutData(URLDescriptor cdURL,
DataStorageDescriptor dsd)
Attempts to store data with a Cooperation Domain.
|
Status |
TransientAgentInterface.doGetOnology(URLDescriptor url,
String GET_PERFORMATIVESorGET_ACTS,
String typeName)
Sends a message to retrieve information about the performatives in the
performative type library of another agent.
|
Status |
TransientAgentInterface.doInviteToCD(URLDescriptor agent,
URLDescriptor cd,
boolean sense)
Requests an agent to join a particular cooperation domain.
|
Status |
TransientAgentInterface.doJoinCD(URLDescriptor cd)
Join a cooperation domain.
|
Status |
TransientAgentInterface.doPing(URLDescriptor agent,
long timeout)
Pings another agent.
|
Status |
TransientAgentInterface.doRegisterAgentInstance(int lacPort) |
Status |
TransientAgentInterface.doRegisterAgentInstance(int port,
RunnableWithParameter<MLMessage> successAction,
RunnableWithParameter<MLMessage> failureAction)
Registers with the LAC that this Agent is running.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
List<URLDescriptor> to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agents.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
String message)
Sends the given chat message through the given cooperation domain to all
current members of that cooperation domain.
|
Status |
ChatAgentInterface.doSendChatMessage(URLDescriptor cd,
URLDescriptor to,
boolean whisper,
String message)
Sends the given chat message through the given cooperation domain to the
given agent.
|
Status |
TransientAgentInterface.doUnadvertise(URLDescriptor yp,
ServiceDescriptor service)
This method is called when this agent wishes to withdraw a previously
advertised service from a yellow pages service.
|
Status |
TransientAgentInterface.doUnregisterAgentInstance(boolean request)
Unregisters this Agent from the LAC.
|
Status |
TransientAgentInterface.doUnregisterAgentType(int port)
Unregisters this Agent type from the LAC's permanent registry.
|
Status |
TransientAgentInterface.doWithdrawCD(URLDescriptor cd,
boolean request)
Withdraw from a cooperation domain.
|
Status |
TransientAgentInterface.executeCommand(String command,
AgentUI ui)
Used to execute a command string at runtime.
|
Status |
PolicyAgentInterface.executeCommand(String command,
AgentUI ui) |
abstract Status |
WaitingRequest.handleReply(MLMessage msg) |
Status |
Descriptor.isApplicable(PolicyAgentInterface agent,
T instance)
Returns true if descriptor matches the instance in the context of
the agent.
|
Status |
CooperationDomainInterface.join(URLDescriptor joiner)
Adds the specified agent to the list of current members and notifies any
agents that are observing membership that a new member has joined the
cooperation domain.
|
Status |
AgentInterface.putDataObject(DataStorageDescriptor dsd)
Stores some data for this agent based on the specified
DataStorageDescriptor . |
Status |
AgentInterface.putDataObject(String data,
String dataObjectName,
boolean append)
Stores a
DataDescriptor for this agent to the specified data
object. |
Status |
TransientAgentInterface.putExtendedOntology(String perfHierarchy)
Add the persistent TypeHierarchy data in perfHierarchy to this
agent's performative hierarchy.
|
Status |
TransientAgentInterface.putReplacementOntology(String types)
Replace this agent's type performative hierarchy with the persistent
TypeHierarchy data in types.
|
Status |
LACInterface.registerAgentType(String path,
RunDescriptor r)
Registers the type an agent with the LAC.
|
Status |
YellowPagesAgentInterface.removeAdvertisement(AdvertisementDescriptor advertisement)
Removes the given advertisement from the list of current advertisements.
|
Status |
TransientAgentInterface.requestInstances(String pattern) |
Status |
LACInterface.resolveURL(URLDescriptor url)
Resolved an unresolved URL.
|
Status |
ProcessInterface.sendMessage(MLMessage message)
Sends the message to the the message.receiver or, if
message.receiver is missing or empty, to message.to.
|
Status |
PolicyAgentInterface.sendMessage(MLMessage message)
Sends the message to the the message.receiver or, if
message.receiver is missing or empty, to message.to.
|
Status |
MessageSender.sendMessage(MLMessage message)
This method will be envoked when a message is to be sent,
message
contains destination information about the message. |
Status |
LACInterface.unregisterAgentInstance(URLDescriptor newURL)
De-registers an instance of an agent with the LAC.
|
Status |
LACInterface.unregisterAgentType(String path)
De-registers an an agent type with the LAC.
|
Status |
CooperationDomainInterface.withdraw(URLDescriptor member)
Removes the specified agent from the list of current members and notifies
any agents that are observing membership that a member has withdrawn from
the cooperation domain.
|
Modifier and Type | Method and Description |
---|---|
String |
ProcessInterface.println(String traceTag,
String txt,
Status tempStatus)
Same as
ProcessInterface.println(String, String) but appends tempStatus.getExplanation(). |
String |
PolicyAgentInterface.println(String traceTag,
String txt,
Status tempStatus)
Same as
PolicyAgentInterface.println(String, String) but appends
tempStatus.getExplanation(). |
String |
AgentPrintInterface.println(String traceTag,
String txt,
Status tempStatus)
Same as
AgentPrintInterface.println(String, String) but appends tempStatus.getExplanation(). |
Modifier and Type | Method and Description |
---|---|
Status |
Ontology.extendWith(String spec)
Add the persistent Ontology data in spec to this
Ontology.
|
Modifier and Type | Method and Description |
---|---|
Status |
OWLOntology.extendWith(String spec) |
Modifier and Type | Method and Description |
---|---|
Status |
CASAOntology.extendWith(String spec)
Not implemented.
|
static Status |
CASAOntology.ontology_lispImpl(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
Modifier and Type | Method and Description |
---|---|
static Status |
PolicyContainer.conclude(PolicyAgentInterface agent,
StatusObject<List<Object>> stat)
This is called after all the social commitments have been applied (and have
created social commitment operators.
|
Status |
Policy.isApplicable(PolicyAgentInterface agent,
Event event,
Map<String,LispObject> map)
Determines if this policy is applicable to the event.
|
Status |
AbstractPolicy.isApplicable(PolicyAgentInterface agent,
Event event,
Map<String,LispObject> map) |
Modifier and Type | Method and Description |
---|---|
StatusObject<List<Object>> |
Policy.apply(PolicyAgentInterface agent,
Status status,
Vector<AbstractPolicy> policyContext,
Event event,
Map<String,LispObject> map,
Object eventInstanceInfo) |
StatusObject<List<Object>> |
AbstractPolicy.apply(PolicyAgentInterface agent,
Status status,
Vector<AbstractPolicy> policyContext,
Event event,
Map<String,LispObject> map,
Object eventInstanceInfo) |
protected StatusObject<List<Object>> |
Policy.executeConcequent(PolicyAgentInterface agent,
Status status,
Vector<AbstractPolicy> policyContext,
Event event,
Object eventInstanceInfo,
Map<String,LispObject> map) |
Modifier and Type | Method and Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Status |
ServiceAgent.ServiceCommand.execute(MLMessage msg) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status |
ServiceAgent.handleReplys_observeMembership(MLMessage msg)
Handles observe.membership subscribe messages by first calling the
super method, and then sending this objects service offer to the newly
joined agent.
The handled messages are of the form: Uses of Status in casa.socialcommitments
Uses of Status in casa.socialcommitments.operators
Uses of Status in casa.testAgents
Uses of Status in casa.ui
Uses of Status in casa.util
Uses of Status in iRobotCreate
Uses of Status in iRobotCreate.simulator
|