| Modifier and Type | Interface and Description |
|---|---|
interface |
IRemoteAgentParameters
Remote agent parameters are additionally providing an address of the remote environment which the
agent has to connect into.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IAgentParameters.assignDefaults(IAgentParameters defaults)
Fills missing parameters of 'this' with values from 'defaults'.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AgentParameters
Agent parameters are meant to provide run-time parameters needed by various agents.
|
class |
RemoteAgentParameters
Remote agent parameters are meant to provide run-time parameters needed by various agents that works on client/server
paradigm.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteAgentParameters.assignDefaults(IAgentParameters defaults) |
void |
AgentParameters.assignDefaults(IAgentParameters defaults) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAgentDescriptor<PARAMS extends IAgentParameters,MODULE extends GuiceAgentModule>
This interface describes everything that is needed to instantiate and start of the agent.
|
interface |
IAgentRunner<AGENT extends IAgent,PARAMS extends IAgentParameters>
Utility interface for classes that can instantiate & start (possibly multiple) agents at once.
|
interface |
IMultipleAgentRunner<AGENT extends IAgent,PARAMS extends IAgentParameters,MODULE extends GuiceAgentModule>
Utility interface for classes that can instantiate & start (possibly multiple) agents at once.
|
| Modifier and Type | Method and Description |
|---|---|
PARAMS[] |
IAgentDescriptor.getAgentParameters()
Respective parameters of the agents.
|
| Modifier and Type | Method and Description |
|---|---|
List<AGENT> |
IAgentRunner.startAgents(PARAMS... agentsParameters)
Start an agent instance configured with 'agentsParameters'.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AgentDescriptor<PARAMS extends IAgentParameters,MODULE extends GuiceAgentModule>
Base implementation of the
IAgentDescriptor. |
class |
AgentRunner<AGENT extends IAgent,PARAMS extends IAgentParameters>
BASIC USAGE
|
class |
MultipleAgentRunner<AGENT extends IAgent,PARAMS extends IAgentParameters,MODULE extends GuiceAgentModule>
Class used for starting the agent with certain default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
PARAMS[] |
AgentDescriptor.getAgentParameters() |
protected abstract IAgentParameters |
MultipleAgentRunner.newDefaultAgentParameters()
Method that is called to provide another default parameters for newly created agents.
|
protected abstract IAgentParameters |
AgentRunner.newDefaultAgentParameters()
Method that is called to provide another default parameters for newly created agents.
|
| Modifier and Type | Method and Description |
|---|---|
AgentDescriptor<PARAMS,MODULE> |
AgentDescriptor.addParams(PARAMS... params)
Adds parameters for another agents.
|
protected void |
AgentRunner.fillInDefaults(PARAMS[] paramsArray)
Fills defaults parameters into every 'params' of the array by using
AgentRunner.newDefaultAgentParameters(),
i.e., we're creating a new default parameters for every 'params' from the array. |
AgentDescriptor<PARAMS,MODULE> |
AgentDescriptor.setAgentParameters(PARAMS[] params)
Clears all the params stored within
AgentDescriptor and assigns 'params'. |
List<AGENT> |
AgentRunner.startAgents(PARAMS... agentParameters) |
protected List<AGENT> |
AgentRunner.startAgentWithParams(boolean fillDefaults,
PARAMS... params)
This method should be internally used to create and start the batch of agent instances.
|
protected List<AGENT> |
AgentRunner.startAgentWithParamsMain(boolean fillDefaults,
PARAMS... params)
E.g.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>
General factory that instantiates the agent according to the passed parameters.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GuiceAgentFactory<AGENT extends IAgent,PARAMS extends IAgentParameters>
Guice-based
IAgent factory that instantiates the agent according to the bindigs that are found inside
the GuiceAgentModule, which is provided during the construction. |
class |
GuiceAgentModule<PARAMS extends IAgentParameters>
GuiceAgentModule, implementation of
AbstractModule, provides a way to hierarchically specify the bindings
for interfaces and classes. |
class |
GuiceCommunicationModule<PARAMS extends IAgentParameters>
Base GaviaLib Guice module that covers the simple bindings for Pogamut's communication chain.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITeamRemoteAgentParameters<SHARED_WORLDVIEW extends ISharedWorldView>
Combines
ITeamAgentParameters and IRemoteAgentParameters. |
| Modifier and Type | Class and Description |
|---|---|
class |
TeamRemoteAgentParameters<SHARED_WORLDVIEW extends ISharedWorldView> |
| Modifier and Type | Method and Description |
|---|---|
void |
TeamRemoteAgentParameters.assignDefaults(IAgentParameters defaults) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.