cz.cuni.amis.pogamut.ut2004.agent.params
Class UT2004AgentParameters
java.lang.Object
cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
- All Implemented Interfaces:
- IAgentParameters, IRemoteAgentParameters
- Direct Known Subclasses:
- UT2004AnalyzerFullObserverParameters, UT2004AnalyzerObserverParameters, UT2004AnalyzerParameters, UT2004BotParameters
public class UT2004AgentParameters
- extends RemoteAgentParameters
Agent parameters are meant to provide run-time parameters needed by various UT2004 agents for
running such as IAgentId
and ISocketConnectionAddress
.
If you need to populate the parameters after instantiation, use setters available in this
class: setAgentId(IAgentId)
, setWorldAddress(IWorldConnectionAddress)
.
NOTE: all IAgentParameters
implementors are usually used together with IAgentRunner
or IMultipleAgentRunner
which usually contains sensible default params, therefore there is no need to set all parameters
into newly created ones as runners will supply them via IAgentParameters.assignDefaults(IAgentParameters)
.
- Author:
- Jimmy
- See Also:
RemoteAgentParameters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UT2004AgentParameters
public UT2004AgentParameters()
- If you need to populate the parameters after instantiation, use setters available in this
class:
setAgentId(IAgentId)
, setWorldAddress(IWorldConnectionAddress)
.
setAgentId
public UT2004AgentParameters setAgentId(IAgentId agentId)
- Overrides:
setAgentId
in class RemoteAgentParameters
setWorldAddress
public UT2004AgentParameters setWorldAddress(IWorldConnectionAddress address)
- Overrides:
setWorldAddress
in class RemoteAgentParameters
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.