Package | Description |
---|---|
cz.cuni.amis.pogamut.base.agent.utils.runner.impl | |
cz.cuni.amis.pogamut.base.factory.guice | |
cz.cuni.amis.pogamut.multi.factory.guice |
Modifier and Type | Field and Description |
---|---|
protected IAgentFactory<AGENT,PARAMS> |
AgentRunner.factory
Used to instantiate new agents.
|
Modifier and Type | Method and Description |
---|---|
protected abstract IAgentFactory |
MultipleAgentRunner.newAgentFactory(MODULE agentModule)
Creates a new factory for the given 'agentModule'.
|
Modifier and Type | Method and Description |
---|---|
protected AGENT |
MultipleAgentRunner.createAgentWithParams(IAgentFactory<AGENT,PARAMS> factory,
PARAMS params)
Method that is used by
MultipleAgentRunner#startAgentWithParams(IAgentParameters[]) to instantiate new
agents. |
Constructor and Description |
---|
AgentRunner(IAgentFactory<AGENT,PARAMS> factory)
The runner needs the 'factory' so it know how to construct (instantiate) new agents.
|
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 |
GuiceRemoteAgentFactory<AGENT extends IAgent,PARAMS extends IRemoteAgentParameters>
Guice agent factory configured by an agent module (
GuiceRemoteAgentModule ) that is specifying the bindings
for respective interfaces. |
Modifier and Type | Class and Description |
---|---|
class |
GuiceTeamRemoteAgentFactory<AGENT extends IAgent,PARAMS extends ITeamRemoteAgentParameters>
Guice agent factory configured by an agent module (
GuiceTeamRemoteAgentModule ) that is specifying the bindings
for respective interfaces. |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.