public class DMTableResults extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,DMTablePlayerResult> |
players |
cz.cuni.amis.utils.maps.HashMapMap<String,String,DMMatchResult> |
results
Player1 -> Player2 -> DMMatchResult
|
| Constructor and Description |
|---|
DMTableResults() |
| Modifier and Type | Method and Description |
|---|---|
DMMatchResult |
addResult(String plr1,
String plr2,
int score1,
int score2,
boolean[] botLogicEx,
String[] botEx) |
protected void |
error(String msg) |
DMMatchResult |
getMatchResult(String plr1,
String plr2) |
protected void |
info(String msg) |
void |
probeResults(File dir)
Search the dir for *-bot-scores.csv and tries to read it.
|
void |
probeResults(File dir,
boolean recursive) |
List<DMTablePlayerResult> |
resolve() |
protected void |
warn(String msg) |
public Map<String,DMTablePlayerResult> players
public cz.cuni.amis.utils.maps.HashMapMap<String,String,DMMatchResult> results
protected void info(String msg)
protected void warn(String msg)
protected void error(String msg)
public DMMatchResult getMatchResult(String plr1, String plr2)
public DMMatchResult addResult(String plr1, String plr2, int score1, int score2, boolean[] botLogicEx, String[] botEx)
public List<DMTablePlayerResult> resolve()
public void probeResults(File dir)
probeResults(File, boolean) instead.dir - public void probeResults(File dir, boolean recursive)
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.