Class EvaluationInfos
java.lang.Object
cz.cuni.mff.amis.pacman.tournament.EvaluationInfos
- Direct Known Subclasses:
PacManResults
,PacManRunResult
public class EvaluationInfos
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description double
avgDeaths
double
avgScore
double
avgTimeSpent
double
avgVictories
int
totalDeaths
int
totalScore
int
totalTimeSpent
int
totalVictories
-
Constructor Summary
Constructors Constructor Description EvaluationInfos()
-
Method Summary
Modifier and Type Method Description void
addResult(Game result)
void
addResults(Game... results)
void
addResults(java.util.List<Game> results)
java.lang.String
getCSV()
java.lang.String
getCSVHeader()
java.util.List<Game>
getResults()
java.lang.String
toString()
-
Field Details
-
totalVictories
public int totalVictories -
avgVictories
public double avgVictories -
totalDeaths
public int totalDeaths -
avgDeaths
public double avgDeaths -
totalScore
public int totalScore -
avgScore
public double avgScore -
totalTimeSpent
public int totalTimeSpent -
avgTimeSpent
public double avgTimeSpent
-
-
Constructor Details
-
EvaluationInfos
public EvaluationInfos()
-
-
Method Details
-
getResults
-
addResult
-
addResults
-
addResults
-
getCSVHeader
public java.lang.String getCSVHeader() -
getCSV
public java.lang.String getCSV() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-