cz.cuni.amis.pogamut.ut2004.tournament.match
Class UT2004Match.Bots

Package class diagram package UT2004Match.Bots
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004Match.Bots
Enclosing class:
UT2004Match<CONFIG extends UT2004MatchConfig,RESULT extends UT2004MatchResult>

public static class UT2004Match.Bots
extends Object


Field Summary
 Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> botId2UnrealId
          Contains mapping of IUT2004BotConfig.getBotId() (from UT2004MatchConfig.bots) to UnrealId of the bot inside UT2004 (id that was given to bot by UT2004).
 Map<cz.cuni.amis.utils.token.IToken,IUT2004AnalyzerObserver> botObservers
          If UT2004Analyzer is used, this will be filled with respective observers in STEP 6.
 Map<cz.cuni.amis.utils.token.IToken,UT2004BotExecution> bots
          Wrappers of custom bots' processes.
 long matchEnd
          System.currentTimeMillis() when the match has ended.
 long matchStart
          System.currentTimeMillis() when the match was restarted.
 Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> nativeBotId2UnrealId
          Contains mapping of IUT2004BotConfig.getBotId() (from UT2004MatchConfig.nativeBots) to UnrealId of the bot inside UT2004 (id that was given to bot by UT2004).
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> nativeUnrealId2BotId
          Contains mapping of UnrealId of the bot inside UT2004 (id that was given to bot by UT2004) to IUT2004BotConfig.getBotId() (from UT2004MatchConfig.nativeBots).
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> unrealId2BotId
          Contains mapping of UnrealId of the bot inside UT2004 (id that was given to bot by UT2004) to IUT2004BotConfig.getBotId() (from UT2004MatchConfig.bots).
 
Constructor Summary
UT2004Match.Bots()
           
 
Method Summary
 cz.cuni.amis.utils.token.IToken getBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
           
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getUnrealId(cz.cuni.amis.utils.token.IToken botId)
           
 boolean isNativeBot(cz.cuni.amis.utils.token.IToken botId)
           
 boolean isNativeBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

botId2UnrealId

public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> botId2UnrealId
Contains mapping of IUT2004BotConfig.getBotId() (from UT2004MatchConfig.bots) to UnrealId of the bot inside UT2004 (id that was given to bot by UT2004).

Contains only mappings for CUSTOM bots.


unrealId2BotId

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> unrealId2BotId
Contains mapping of UnrealId of the bot inside UT2004 (id that was given to bot by UT2004) to IUT2004BotConfig.getBotId() (from UT2004MatchConfig.bots).

Contains only mappings for CUSTOM bots.


nativeBotId2UnrealId

public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> nativeBotId2UnrealId
Contains mapping of IUT2004BotConfig.getBotId() (from UT2004MatchConfig.nativeBots) to UnrealId of the bot inside UT2004 (id that was given to bot by UT2004).

Contains only mappings for CUSTOM bots.


nativeUnrealId2BotId

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> nativeUnrealId2BotId
Contains mapping of UnrealId of the bot inside UT2004 (id that was given to bot by UT2004) to IUT2004BotConfig.getBotId() (from UT2004MatchConfig.nativeBots).

Contains only mappings for NATIVE bots.


bots

public Map<cz.cuni.amis.utils.token.IToken,UT2004BotExecution> bots
Wrappers of custom bots' processes.


botObservers

public Map<cz.cuni.amis.utils.token.IToken,IUT2004AnalyzerObserver> botObservers
If UT2004Analyzer is used, this will be filled with respective observers in STEP 6.


matchStart

public long matchStart
System.currentTimeMillis() when the match was restarted.


matchEnd

public long matchEnd
System.currentTimeMillis() when the match has ended.

Constructor Detail

UT2004Match.Bots

public UT2004Match.Bots()
Method Detail

getUnrealId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getUnrealId(cz.cuni.amis.utils.token.IToken botId)

getBotId

public cz.cuni.amis.utils.token.IToken getBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)

isNativeBot

public boolean isNativeBot(cz.cuni.amis.utils.token.IToken botId)

isNativeBot

public boolean isNativeBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.