public class UT2004AnalyzerObserverParameters extends UT2004AgentParameters
| Constructor and Description |
|---|
UT2004AnalyzerObserverParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignDefaults(IAgentParameters defaults) |
String |
getFileName()
Returns file name that should be used for outputting data (just file name, must be combined with
UT2004AnalyzerObserver.getOutputFilePath(). |
String |
getObservedAgentId()
Returns ID of the player that should be observed.
|
String |
getOutputPath()
Contains path to directory where the observer should output its results.
|
boolean |
isWaitForMatchRestart()
Whether the observer should wait for match-restart before it starts to collect data.
|
UT2004AnalyzerObserverParameters |
setAgentId(IAgentId agentId) |
UT2004AnalyzerObserverParameters |
setFileName(String fileName)
Sets FileName to be used for the output.
|
UT2004AnalyzerObserverParameters |
setObservedAgentId(String observedAgentId)
Sets 'id' (usually taken from the
UnrealId that is present for instance in Self#getId())
of the bot that is going to be observed by newly created observer. |
UT2004AnalyzerObserverParameters |
setOutputPath(String outputPath)
Sets path to directory where the observer should output its results.
|
UT2004AnalyzerObserverParameters |
setWaitForMatchRestart(boolean waitForMatchRestart)
Sets whether the observer should wait for match-restart before it starts to collect data.
|
UT2004AnalyzerObserverParameters |
setWorldAddress(IWorldConnectionAddress address) |
getWorldAddressgetAgentIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAgentIdpublic String getObservedAgentId()
public UT2004AnalyzerObserverParameters setObservedAgentId(String observedAgentId)
UnrealId that is present for instance in Self#getId())
of the bot that is going to be observed by newly created observer.
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 UT2004AnalyzerObserverParameters setAgentId(IAgentId agentId)
setAgentId in class UT2004AgentParameterspublic UT2004AnalyzerObserverParameters setWorldAddress(IWorldConnectionAddress address)
setWorldAddress in class UT2004AgentParameterspublic String getOutputPath()
public UT2004AnalyzerObserverParameters setOutputPath(String outputPath)
outputPath - public boolean isWaitForMatchRestart()
public UT2004AnalyzerObserverParameters setWaitForMatchRestart(boolean waitForMatchRestart)
waitForMatchRestart - public String getFileName()
UT2004AnalyzerObserver.getOutputFilePath().public UT2004AnalyzerObserverParameters setFileName(String fileName)
UT2004AnalyzerObserver.getOutputFilePath().fileName - public void assignDefaults(IAgentParameters defaults)
assignDefaults in interface IAgentParametersassignDefaults in class RemoteAgentParametersCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.