cz.cuni.amis.pogamut.ut2004.tournament.capturetheflag
Class UT2004CaptureTheFlagResult

Package class diagram package UT2004CaptureTheFlagResult
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004MatchResult
      extended by cz.cuni.amis.pogamut.ut2004.tournament.capturetheflag.UT2004CaptureTheFlagResult

public class UT2004CaptureTheFlagResult
extends UT2004MatchResult


Field Summary
 double matchTimeEnd
          When the match has ended (in seconds);
 
Constructor Summary
UT2004CaptureTheFlagResult()
           
UT2004CaptureTheFlagResult(int winnerTeam)
           
 
Method Summary
 List<cz.cuni.amis.utils.token.IToken> getAllBots()
          Returns list of all bot (custom + native) ids.
 Map<cz.cuni.amis.utils.token.IToken,UT2004AnalyzerObsStats> getBotObservers()
          Map with observers (custom bots only!) containing detailed statistics about respective bots.
 List<cz.cuni.amis.utils.token.IToken> getBots()
          Returns list with custom bots (run by Pogamut platform).
 Map<cz.cuni.amis.utils.token.IToken,PlayerScore> getFinalScores()
          Final scores of bots.
 cz.cuni.amis.utils.maps.HashMapMap<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.utils.token.IToken,Integer> getKillCounts()
          Who -> killed Whom -> How many times, i.e., map.get(killerId).get(victimId) == how many time killer killed the victim.
 double getMatchTimeEnd()
          When the match has ended (in seconds).
 List<cz.cuni.amis.utils.token.IToken> getNativeBots()
          Returns list with native bots (bots from UT2004 itself).
 Map<cz.cuni.amis.utils.token.IToken,Integer> getSuicides()
          How many times the bot (key == botId) has commit suicide.
 Map<Integer,TeamScore> getTeamScores()
          Returns scores of respective teams that were in the game.
 Map<cz.cuni.amis.utils.token.IToken,Integer> getTotalKills()
          How many times one bot killed another bot.
 Map<cz.cuni.amis.utils.token.IToken,Integer> getWasKilled()
          How many times some bot was killed by ANOTHER bot (== without suicides).
 void setBotObservers(Map<cz.cuni.amis.utils.token.IToken,UT2004AnalyzerObsStats> botObservers)
          Map with observers (custom bots only!) containing detailed statistics about respective bots.
 void setBots(List<cz.cuni.amis.utils.token.IToken> bots)
          List with custom bots (run by Pogamut platform).
 void setFinalScores(Map<cz.cuni.amis.utils.token.IToken,PlayerScore> finalScores)
          Final scores of bots.
 void setKillCounts(cz.cuni.amis.utils.maps.HashMapMap<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.utils.token.IToken,Integer> killCounts)
          Who -> killed Whom -> How many times, i.e., map.get(killerId).get(victimId) == how many time killer killed the victim.
 void setMatchTimeEnd(double matchTimeEnd)
          When the match has ended (in seconds).
 void setNativeBots(List<cz.cuni.amis.utils.token.IToken> nativeBots)
          List with native bots (bots from UT2004 itself).
 void setSuicides(Map<cz.cuni.amis.utils.token.IToken,Integer> suicides)
          How many times the bot (key == botId) has commit suicide.
 void setTeamScores(Map<Integer,TeamScore> teamScores)
          Sets team scores.
 void setTotalKills(Map<cz.cuni.amis.utils.token.IToken,Integer> totalKills)
          How many times one bot killed another bot.
 void setWasKilled(Map<cz.cuni.amis.utils.token.IToken,Integer> wasKilled)
          How many times some bot was killed by ANOTHER bot (== without suicides).
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004MatchResult
getWinnerBot, getWinnerTeam, isDraw, isIndividual, setDraw, setIndividual, setWinnerBot, setWinnerTeam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

matchTimeEnd

public double matchTimeEnd
When the match has ended (in seconds);

Constructor Detail

UT2004CaptureTheFlagResult

public UT2004CaptureTheFlagResult()

UT2004CaptureTheFlagResult

public UT2004CaptureTheFlagResult(int winnerTeam)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getBots

public List<cz.cuni.amis.utils.token.IToken> getBots()
Returns list with custom bots (run by Pogamut platform).

Returns:

setBots

public void setBots(List<cz.cuni.amis.utils.token.IToken> bots)
List with custom bots (run by Pogamut platform).

Parameters:
bots -

getNativeBots

public List<cz.cuni.amis.utils.token.IToken> getNativeBots()
Returns list with native bots (bots from UT2004 itself).

Returns:

setNativeBots

public void setNativeBots(List<cz.cuni.amis.utils.token.IToken> nativeBots)
List with native bots (bots from UT2004 itself).

Parameters:
nativeBots -

getAllBots

public List<cz.cuni.amis.utils.token.IToken> getAllBots()
Returns list of all bot (custom + native) ids.

Returns:

getMatchTimeEnd

public double getMatchTimeEnd()
When the match has ended (in seconds). I.e., how long was the match.


setMatchTimeEnd

public void setMatchTimeEnd(double matchTimeEnd)
When the match has ended (in seconds). I.e., how long was the match.


getFinalScores

public Map<cz.cuni.amis.utils.token.IToken,PlayerScore> getFinalScores()
Final scores of bots.

Returns:

setFinalScores

public void setFinalScores(Map<cz.cuni.amis.utils.token.IToken,PlayerScore> finalScores)
Final scores of bots.


getKillCounts

public cz.cuni.amis.utils.maps.HashMapMap<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.utils.token.IToken,Integer> getKillCounts()
Who -> killed Whom -> How many times, i.e., map.get(killerId).get(victimId) == how many time killer killed the victim.

Returns:

setKillCounts

public void setKillCounts(cz.cuni.amis.utils.maps.HashMapMap<cz.cuni.amis.utils.token.IToken,cz.cuni.amis.utils.token.IToken,Integer> killCounts)
Who -> killed Whom -> How many times, i.e., map.get(killerId).get(victimId) == how many time killer killed the victim.


getTotalKills

public Map<cz.cuni.amis.utils.token.IToken,Integer> getTotalKills()
How many times one bot killed another bot.

Returns:

setTotalKills

public void setTotalKills(Map<cz.cuni.amis.utils.token.IToken,Integer> totalKills)
How many times one bot killed another bot.


getWasKilled

public Map<cz.cuni.amis.utils.token.IToken,Integer> getWasKilled()
How many times some bot was killed by ANOTHER bot (== without suicides).

Returns:

setWasKilled

public void setWasKilled(Map<cz.cuni.amis.utils.token.IToken,Integer> wasKilled)
How many times some bot was killed by ANOTHER bot (== without suicides).


getSuicides

public Map<cz.cuni.amis.utils.token.IToken,Integer> getSuicides()
How many times the bot (key == botId) has commit suicide.

Returns:

setSuicides

public void setSuicides(Map<cz.cuni.amis.utils.token.IToken,Integer> suicides)
How many times the bot (key == botId) has commit suicide.

Parameters:
suicides -

getBotObservers

public Map<cz.cuni.amis.utils.token.IToken,UT2004AnalyzerObsStats> getBotObservers()
Map with observers (custom bots only!) containing detailed statistics about respective bots.

Returns:

setBotObservers

public void setBotObservers(Map<cz.cuni.amis.utils.token.IToken,UT2004AnalyzerObsStats> botObservers)
Map with observers (custom bots only!) containing detailed statistics about respective bots.

Parameters:
botObservers -

getTeamScores

public Map<Integer,TeamScore> getTeamScores()
Returns scores of respective teams that were in the game.

Returns:

setTeamScores

public void setTeamScores(Map<Integer,TeamScore> teamScores)
Sets team scores.

Parameters:
teamScores -


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