|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.ut2004.tournament.deathmatch.UT2004DeathMatchTournament
public class UT2004DeathMatchTournament
Class that performs the tournament as described by UT2004DeathMatchTournamentConfig
.
THREAD-UNSAFE!
Constructor Summary | |
---|---|
UT2004DeathMatchTournament(UT2004DeathMatchTournamentConfig config,
cz.cuni.amis.pogamut.base.utils.logging.LogCategory log)
|
Method Summary | |
---|---|
Map<cz.cuni.amis.utils.token.IToken,UT2004DeathMatchResult> |
call()
|
void |
cleanUp()
WARNING: this method will delete the whole directory where results are stored! IT WILL DELETE IT COMPLETELY! DO NOT USE IT ON A WHIM... |
Map<cz.cuni.amis.utils.token.IToken,Throwable> |
getExceptions()
If some match fails, the exception reported is stored within this map. |
File |
getOutputPath()
Returns directory where all tournament matches will be output. |
Map<cz.cuni.amis.utils.token.IToken,UT2004DeathMatchResult> |
getResults()
This map holds the results of respective matches. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UT2004DeathMatchTournament(UT2004DeathMatchTournamentConfig config, cz.cuni.amis.pogamut.base.utils.logging.LogCategory log)
Method Detail |
---|
public Map<cz.cuni.amis.utils.token.IToken,UT2004DeathMatchResult> getResults()
public Map<cz.cuni.amis.utils.token.IToken,Throwable> getExceptions()
public Map<cz.cuni.amis.utils.token.IToken,UT2004DeathMatchResult> call() throws Exception
call
in interface Callable<Map<cz.cuni.amis.utils.token.IToken,UT2004DeathMatchResult>>
Exception
public void run()
run
in interface Runnable
public void cleanUp()
public File getOutputPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |