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.auction | |
casa.auction.dutch | |
casa.auction.dutch.ui | |
casa.auction.english | |
casa.auction.english.ui | |
casa.auction.sealedbid | |
casa.auction.ui | |
casa.auction.vickrey | |
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.v3 | |
casa.policy.sc3 | |
casa.service |
Contains classes implementing classes for service agents.
|
casa.testAgents | |
casa.transaction | |
casa.transaction.ui | |
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.
|
Constructor and Description |
---|
DrEvil(ParamsMap params,
AgentUI ui) |
newAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Field and Description |
---|---|
private AgentUI |
AbstractProcess.initUI |
static AgentUI |
CASAProcess.ProcessInfo.lacUI |
protected AgentUI |
TransientAgent.primaryUI
Although there may be several observing UIs, this one is the first
registered and will be considered the primary one which the agent may use.
|
private AgentUI |
TransientAgent.abclEvalInAgentThread.ui |
Modifier and Type | Field and Description |
---|---|
private static ThreadLocal<AgentUI> |
TransientAgent.uiForThread
Should be used only by
#abclEval(String, Map allow Lisp operator access to thread-local data
through TransientAgent.getUIForThread() . |
protected Vector<AgentUI> |
TransientAgent.UIs |
Modifier and Type | Method and Description |
---|---|
private AgentUI |
TransientAgent.createNewInterface(TransientAgentInterface agent,
String agentInterfaceName) |
AgentUI |
TransientAgent.getPrimaryUI() |
AgentUI |
TransientAgent.getUI() |
static AgentUI |
TransientAgent.getUIForThread()
Used by Lisp operators defined as subclasses of
CasaLispOperator to
access thread-local data. |
AgentUI[] |
TransientAgent.getUIs() |
protected AgentUI |
TransientAgent.makeDefaultGUI(String[] args)
Returns a default AgentUI as a window.
|
AgentUI |
LAC.makeDefaultGUI(String[] args)
Perform the action for an incoming request message for a getAgentsRunning act-type request conversation.
|
AgentUI |
CASAProcess.makeDefaultGUI(String[] args) |
protected AgentUI |
Agent.makeDefaultGUI(String[] args) |
AgentUI |
TransientAgent.makeDefaultInterface(String[] args,
boolean GUI)
Returns a default AgentUI (in this case, a
TransientAgentInternalFrame instance or a TextInterface instance --
depending on the GUI argument).
|
protected AgentUI |
TransientAgent.makeDefaultTextInterface(String[] args)
Returns a default AgentUI as a window.
|
Modifier and Type | Method and Description |
---|---|
Status |
TransientAgent.abclEval(String c,
Map<String,LispObject> newEnvBindings,
AgentUI ui)
Executes lisp code and returns a result.
|
private static int |
TransientAgent.calculatePortAccountingForProxies(ParamsMap params,
AgentUI ui) |
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.
|
private static Class<AgentProxy>[] |
TransientAgent.getProxies(ParamsMap params,
AgentUI ui) |
protected void |
AbstractProcess.initializeConstructor(ParamsMap params,
AgentUI ui,
int port)
Initializes all local variables and starts up the listener thread (to listen
for and queue up any incoming messages).
|
protected void |
TransientAgent.initializePolicies(ParamsMap params,
AgentUI ui)
This method creates and loads the policies for this agent.
|
protected void |
MasvisAgent.initializePolicies(ParamsMap params,
AgentUI ui) |
private void |
TransientAgent.initializeProxy(ParamsMap params,
AgentUI ui) |
protected void |
TransientAgent.initializeThread(ParamsMap params,
AgentUI ui)
Subclasses may override this method to initialize before the message loop
is called, after the constructor is finished but before control is returned
to the thread that called the constructor.
|
protected void |
MasvisAgent.initializeThread(ParamsMap params,
AgentUI ui) |
protected void |
LAC.initializeThread(ParamsMap params,
AgentUI ui)
This method is safe as it called from the thread of the agent (not the constructor)
|
protected void |
CooperationDomainObserver.initializeThread(ParamsMap params,
AgentUI ui) |
protected void |
CASAProcess.initializeThread(ParamsMap params,
AgentUI ui) |
protected void |
AbstractProcess.initializeThread(ParamsMap params,
AgentUI ui)
Subclasses may override this method to initialize before the message loop is called,
after the constructor is finished but before control is returned to the thread
that called the constructor.
|
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInAnotherProc(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
URLDescriptor url) |
private Status |
TransientAgent.NewAgentLispCommand.makeAgentInThisProc(ParamsMap params,
AgentUI ui) |
private static int |
TransientAgent.printKBexpressions(AgentUI ui,
String pattern,
String text,
boolean regex,
boolean strict) |
void |
TransientAgent.putUI(AgentUI ui)
A creating process should call this to let the agent know of any user
interface it has attached to the agent.
|
void |
LAC.putUI(AgentUI ui) |
void |
CASAProcess.putUI(AgentUI ui) |
static boolean |
TransientAgent.searchOntology(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
String expr) |
static boolean |
TransientAgent.searchOntology1(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env,
String expr) |
private static Status |
CASACommandLine2.startAgent(AgentUI ui)
Deprecated.
|
static TransientAgent |
CASA.startAgent(AgentUI ui,
Class<?> cls,
String name,
int port,
Pair<String,String>... keyValuePairs) |
static TransientAgent |
CASA.startAgent(AgentUI ui,
Class<?> cls,
String name,
int port,
String... keyValuePairs) |
static TransientAgent |
CASA.startAgent(AgentUI ui,
Pair<String,String>... keys) |
private static LAC |
CASA.startLAC(AgentUI ui,
int lacPort,
Pair<String,String>... keys) |
private static CASAProcess |
CASA.startProcess(AgentUI ui,
int port,
int lacPort) |
Constructor and Description |
---|
abclEvalInAgentThread(Thread thisThread,
String c,
Map<String,LispObject> newEnvBindings,
AgentUI ui) |
AbstractProcess(ParamsMap params,
AgentUI ui,
int port)
Constructor.
|
Agent(ParamsMap params,
AgentUI ui)
Standard constructor
|
AgentProxy(ParamsMap params,
AgentUI ui)
Creates a new
AgentProxy that forwards messages to the given
agent and uses the given port. |
CASAProcess(ParamsMap params,
AgentUI ui) |
CooperationDomain(ParamsMap params,
AgentUI ui)
Creates a new
CooperationDomain . |
CooperationDomainObserver(ParamsMap params,
AgentUI ui)
Creates a new
CooperationDomainObserver object. |
LAC(ParamsMap params,
AgentUI ui) |
MasvisAgent(ParamsMap params,
AgentUI ui) |
SecureProxy(ParamsMap params,
AgentUI ui)
Creates a new
SecureProxy that protects the given agent, uses
the given port, and uses the given secret key to sign the messages that
this proxy authorizes. |
TransientAgent(ParamsMap params,
AgentUI ui)
Calls the parent constructor
AbstractProcess.AbstractProcess(ParamsMap, AgentUI, int) with the
port (2nd) argument modified: iff proxies are specified in
quals then the port is decremented to make room for the proxies. |
YellowPagesAgent(ParamsMap params,
AgentUI ui) |
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.
|
Constructor and Description |
---|
AuctionAgent(ParamsMap params,
AgentUI ui) |
AuctionCD(ParamsMap params,
AgentUI ui)
Creates a new
AuctionCD . |
Constructor and Description |
---|
DutchAuctionAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Class and Description |
---|---|
class |
DutchAuctionAgentInternalFrame |
Constructor and Description |
---|
EnglishAuctionAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Class and Description |
---|---|
class |
EnglishAuctionAgentInternalFrame |
Constructor and Description |
---|
SealedBidAuctionAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Class and Description |
---|---|
class |
AuctionAgentInternalFrame |
Constructor and Description |
---|
VickreyAuctionAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Method and Description |
---|---|
protected void |
TimeSuper.initializeThread(ParamsMap params,
AgentUI ui) |
Constructor and Description |
---|
TimeGiver(ParamsMap params,
AgentUI ui) |
TimeRequester(ParamsMap params,
AgentUI ui) |
TimeSuper(ParamsMap params,
AgentUI ui) |
Modifier and Type | Method and Description |
---|---|
Status |
EventDescriptor.EventDescriptorLispOperator.execute(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env)
the execute command
|
Modifier and Type | Method and Description |
---|---|
AgentUI |
TransientAgentInterface.makeDefaultInterface(String[] args,
boolean GUI)
Returns a default AgentUI.
|
Modifier and Type | Method and Description |
---|---|
Status |
PolicyAgentInterface.abclEval(String c,
Map<String,LispObject> newEnvBindings,
AgentUI ui) |
Status |
TransientAgentInterface.executeCommand(String command,
AgentUI ui)
Used to execute a command string at runtime.
|
Status |
PolicyAgentInterface.executeCommand(String command,
AgentUI ui) |
void |
TransientAgentInterface.putUI(AgentUI ui)
A creating process should call this to let the agent know of any user interface
it has attached to the agent.
|
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 |
---|---|
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) |
Constructor and Description |
---|
ServiceAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Method and Description |
---|---|
protected AgentUI |
ChatAgent.makeDefaultTextInterface(String[] args)
Returns a default AgentUI as a window.
Subclasses should override ChatAgent.makeDefaultTextInterface() to change this behaviour in subclasses ChatAgent.makeDefaultTextInterface() may return null if no default interface can be built or is not desired. |
Constructor and Description |
---|
ChatAgent(ParamsMap params,
AgentUI ui)
Creates a new
ChatAgent on the given port, with the given
name, registered with the LAC on the given port. |
ObnoxiousTimeInformAgent(ParamsMap params,
AgentUI ui) |
TimeAgent(ParamsMap params,
AgentUI ui) |
Constructor and Description |
---|
AbstractTransactionAgent(ParamsMap params,
AgentUI ui) |
TransactionAgent(ParamsMap params,
AgentUI ui) |
Modifier and Type | Class and Description |
---|---|
class |
TransactionAgentInternalFrame |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInternalFrame
This class implements the common functionality needed by windows that act
as interfaces for CASA agents.
|
class |
AgentInternalFrame
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
AgentRemoteProxyWindow
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
BufferedAgentUI |
class |
ChatAgentWindow
This class creates a window which is the main user interface to an Agent.
|
class |
ChatTextInterface
Title: CASA Agent Infrastructure
|
class |
CommandPanel |
class |
CooperationDomainWindow
Copyright: Copyright 2003-2014, Knowledge Science Group, University of
Calgary.
|
class |
LACWindow
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
MasvisInternalFrame
Copyright: Copyright 2003-2014, Knowledge Science Group, University of
Calgary.
|
class |
ObservingAgentUI
This class is meant to be a handy superclass for UIs that want to observer an owner agent
for trace messages, or other events.
|
class |
ProcessWindow
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary.
|
class |
StandardOutAgentUI |
class |
TextInterface
Title: CASA Agent Infrastructure
|
class |
TransientAgentInternalFrame
This class acts as a default windows interface for agents.
|
Modifier and Type | Field and Description |
---|---|
(package private) AgentUI |
TextInterface.InputListener.ui |
Constructor and Description |
---|
InputListener(AgentUI ui) |
Modifier and Type | Method and Description |
---|---|
static Ontology |
CASAUtil.findOntology(TransientAgent agent,
ParamsMap params,
AgentUI ui,
Environment env) |
static String |
CASAUtil.printui(String s,
AgentUI ui,
ParamsMap params,
TransientAgent agent) |
Modifier and Type | Class and Description |
---|---|
class |
CreateInternalFrame |
Modifier and Type | Method and Description |
---|---|
protected void |
iRobotCreate.initializeThread(ParamsMap params,
AgentUI ui)
This method is called when the agent is initialized, but before it really gets going.
|
private void |
iRobotCreate.openBTIO(ParamsMap params,
AgentUI ui) |
Constructor and Description |
---|
BallPusher(ParamsMap params,
AgentUI ui) |
CliffCalibratingController(ParamsMap params,
AgentUI ui)
A
IRobotState -based robot controller that automatically starts out in CliffCalibratingController.calibrating state. |
Controller(ParamsMap params,
AgentUI ui) |
CreateBounce(ParamsMap params,
AgentUI ui)
Typical Agent constructor.
|
iRobotCreate(ParamsMap params,
AgentUI ui)
Typical Agent constructor.
|
LineFollower(ParamsMap params,
AgentUI ui) |
StateBasedController(ParamsMap params,
AgentUI ui) |
Modifier and Type | Method and Description |
---|---|
private Status |
Environment.executeObjectOptions(ParamsMap params,
AgentUI ui)
Utility method used by object initiation.
|
protected void |
Environment.initializeThread(ParamsMap params,
AgentUI ui)
Called when the agent is read to run.
|
Constructor and Description |
---|
CameraSimulation(ParamsMap params,
AgentUI ui) |
Environment(ParamsMap params,
AgentUI ui)
A normal agent constructor.
|