public static class UT2004Match.Bots extends Object
| Modifier and Type | Field and Description |
|---|---|
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,cz.cuni.amis.pogamut.ut2004.analyzer.IUT2004AnalyzerObserver> |
botObservers
If
UT2004Analyzer is used, this will be filled with respective observers in STEP 6. |
Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecution> |
bots
Wrappers of custom bots' processes.
|
Set<cz.cuni.amis.utils.token.IToken> |
diedOff
Which bots have died off?
|
Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> |
humanId2UnrealId
Contains mapping of
IUT2004HumanConfig.getHumanId() (from UT2004MatchConfig.humans) to UnrealId of the human inside UT2004. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> |
humanUnrealId2HumanId
Contains mapping of
UnrealId of the human inside UT2004 to IUT2004HumanConfig.getHumanId() (from UT2004MatchConfig.humans). |
long |
matchEnd
System.currentTimeMillis() when the match has ended. |
long |
matchStart
System.currentTimeMillis() when the match was restarted. |
Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,String> |
names
Contains mapping of
UnrealId to "NAMES" (real names within the game). |
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 and Description |
|---|
Bots() |
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.token.IToken |
getBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId) |
UT2004MatchConfig.BotType |
getType(cz.cuni.amis.utils.token.IToken botId) |
UT2004MatchConfig.BotType |
getType(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId) |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getUnrealId(cz.cuni.amis.utils.token.IToken botId) |
boolean |
isBot(cz.cuni.amis.utils.token.IToken botId) |
boolean |
isBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId) |
boolean |
isHuman(cz.cuni.amis.utils.token.IToken botId) |
boolean |
isHuman(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId) |
boolean |
isNativeBot(cz.cuni.amis.utils.token.IToken botId) |
boolean |
isNativeBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId) |
public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> botId2UnrealId
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.
public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> unrealId2BotId
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.
public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> nativeBotId2UnrealId
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.
public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> nativeUnrealId2BotId
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.
public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId> humanId2UnrealId
IUT2004HumanConfig.getHumanId() (from UT2004MatchConfig.humans) to UnrealId of the human inside UT2004.
Contains only mappings for HUMANs.
public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.utils.token.IToken> humanUnrealId2HumanId
UnrealId of the human inside UT2004 to IUT2004HumanConfig.getHumanId() (from UT2004MatchConfig.humans).
Contains only mappings for HUMANs.
public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,String> names
UnrealId to "NAMES" (real names within the game).public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecution> bots
public Map<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.pogamut.ut2004.analyzer.IUT2004AnalyzerObserver> botObservers
UT2004Analyzer is used, this will be filled with respective observers in STEP 6. Contains both CUSTOM+NATIVES+HUMAN observers.public Set<cz.cuni.amis.utils.token.IToken> diedOff
public long matchStart
System.currentTimeMillis() when the match was restarted.public long matchEnd
System.currentTimeMillis() when the match has ended.public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getUnrealId(cz.cuni.amis.utils.token.IToken botId)
public cz.cuni.amis.utils.token.IToken getBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
public boolean isBot(cz.cuni.amis.utils.token.IToken botId)
public boolean isBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
public boolean isNativeBot(cz.cuni.amis.utils.token.IToken botId)
public boolean isNativeBot(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
public boolean isHuman(cz.cuni.amis.utils.token.IToken botId)
public boolean isHuman(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId unrealId)
public UT2004MatchConfig.BotType getType(cz.cuni.amis.utils.token.IToken botId)
public UT2004MatchConfig.BotType getType(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.