public class UT2004AnalyzerObsStats extends UT2004AnalyzerObserver
AgentStats for that purpose.events, INTROSPECTION_ROOT_NAME, log, LOG_CATEGORY_NAME| Constructor and Description |
|---|
UT2004AnalyzerObsStats(UT2004AnalyzerObserverParameters params,
IComponentBus bus,
IAgentLogger agentLogger,
UT2004WorldView worldView,
IAct act) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureObserver()
Called from the
UT2004AnalyzerObserver.startAgent() after InitializeObserver command
is sent to configure the observer instance. |
protected void |
gameRestartEnd()
Called whenever
GameRestart message with GameRestarted.isFinished() is received. |
AgentStats |
getStats()
Returns detailed statistics about the agent.
|
gameRestartStarted, getObservedBotId, getOutputFilePath, getParams, startAgent, startPausedAgentcreatePasswordReply, getPasswordReply, getWorldView, killAgent, readyCommandRequested, reset, resetAgent, setPassword, stopAgentgetActaddDependency, addDependency, addDependency, addJMXComponents, awaitState, awaitState, componentFatalError, componentStarted, componentStarted, componentStopped, componentStopping, createAgentJMX, createIntrospection, equals, getComponentId, getEventBus, getIntrospection, getJMX, getLog, getLogger, getName, getState, hashCode, inState, kill, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetEvent, resume, resumeAgent, setState, start, startPaused, stop, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetActgetWorldViewgetComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stopgetEventBus@Inject public UT2004AnalyzerObsStats(UT2004AnalyzerObserverParameters params, IComponentBus bus, IAgentLogger agentLogger, UT2004WorldView worldView, IAct act)
public AgentStats getStats()
protected void gameRestartEnd()
UT2004AnalyzerObserverGameRestart message with GameRestarted.isFinished() is received.
Place where you should reset data collection statistics / start them
in case of UT2004AnalyzerObserverParameters.isWaitForMatchRestart().
Current implementation is empty.
gameRestartEnd in class UT2004AnalyzerObserverprotected void configureObserver()
UT2004AnalyzerObserver.startAgent() after InitializeObserver command
is sent to configure the observer instance.
Actually enables Self, MyInventory and async messages (i.e., BotKilled).
configureObserver in class UT2004AnalyzerObserverCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.