|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.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
cz.cuni.amis.pogamut.ut2004.analyzer.UT2004AnalyzerParameters
public class UT2004AnalyzerParameters
Constructor Summary | |
---|---|
UT2004AnalyzerParameters()
If you need to populate the parameters after instantiation, use setters available in this class: setAgentId(IAgentId) , setWorldAddress(IWorldConnectionAddress) ,
UT2004AnalyzerParameters#setObserverModule(UT2004ObserverModule) . |
Method Summary | |
---|---|
void |
assignDefaults(IAgentParameters defaults)
|
Map<UnrealId,String> |
getFileNames()
This may be used to provide concrete filenames for outputting stats for bots identified by their id. |
Boolean |
getHumanLikeObserving()
Whether to produce logs for "HumanLikeBot project" analysis. |
SocketConnectionAddress |
getObserverAddress()
Returns observer address that should be used for spawning new observers. |
UT2004AnalyzerFullObserverModule |
getObserverModule()
|
String |
getOutputPath()
Contains path to directory where the observer should output its results. |
boolean |
isWaitForMatchRestart()
Whether the analyzer's observers should wait for match-restart before it starts to collect data. |
UT2004AnalyzerParameters |
setAgentId(IAgentId agentId)
|
UT2004AnalyzerParameters |
setFileNames(Map<UnrealId,String> fileNames)
This may be used to provide concrete filenames for outputting stats for bots identified by their id. |
UT2004AnalyzerParameters |
setHumanLikeObserving(Boolean humanLikeObserving)
Whether to produce logs for "HumanLikeBot project" analysis. |
UT2004AnalyzerParameters |
setObserverAddress(SocketConnectionAddress observerAddress)
Sets observer address that should be used for spawning new observers. |
UT2004AnalyzerParameters |
setObserverModule(UT2004AnalyzerFullObserverModule observerModule)
Sets observer module (one that will be used to construct new UT2004AnalyzerObserver in
order to sniff info about connected bots. |
UT2004AnalyzerParameters |
setOutputPath(String outputPath)
Sets path to directory where the observer should output its results. |
UT2004AnalyzerParameters |
setWaitForMatchRestart(boolean waitForMatchRestart)
Sets whether the analyzer's observers should wait for match-restart before it starts to collect data. |
UT2004AnalyzerParameters |
setWorldAddress(IWorldConnectionAddress address)
|
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters |
---|
getWorldAddress |
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters |
---|
getAgentId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters |
---|
getAgentId |
Constructor Detail |
---|
public UT2004AnalyzerParameters()
setAgentId(IAgentId)
, setWorldAddress(IWorldConnectionAddress)
,
UT2004AnalyzerParameters#setObserverModule(UT2004ObserverModule)
.
Method Detail |
---|
public UT2004AnalyzerFullObserverModule getObserverModule()
public UT2004AnalyzerParameters setObserverModule(UT2004AnalyzerFullObserverModule observerModule)
UT2004AnalyzerObserver
in
order to sniff info about connected bots.
WARNING: Note that you should not mess with 'setters' in different threads as they are non-thread-safe and may interrupt horrible agent instantiations with such behavior.
address
-
public UT2004AnalyzerParameters setAgentId(IAgentId agentId)
setAgentId
in class UT2004AgentParameters
public UT2004AnalyzerParameters setWorldAddress(IWorldConnectionAddress address)
setWorldAddress
in class UT2004AgentParameters
public String getOutputPath()
public UT2004AnalyzerParameters setOutputPath(String outputPath)
outputPath
- public boolean isWaitForMatchRestart()
public UT2004AnalyzerParameters setWaitForMatchRestart(boolean waitForMatchRestart)
waitForMatchRestart
- public Map<UnrealId,String> getFileNames()
public UT2004AnalyzerParameters setFileNames(Map<UnrealId,String> fileNames)
fileNames
-
public SocketConnectionAddress getObserverAddress()
public UT2004AnalyzerParameters setObserverAddress(SocketConnectionAddress observerAddress)
observerAddress
- public Boolean getHumanLikeObserving()
public UT2004AnalyzerParameters setHumanLikeObserving(Boolean humanLikeObserving)
humanLikeObserving
- public void assignDefaults(IAgentParameters defaults)
assignDefaults
in interface IAgentParameters
assignDefaults
in class RemoteAgentParameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |