Package ch.idsia.tools
Class EvaluationInfo
java.lang.Object
ch.idsia.tools.EvaluationInfo
- All Implemented Interfaces:
java.lang.Cloneable
public final class EvaluationInfo
extends java.lang.Object
implements java.lang.Cloneable
Created by IntelliJ IDEA.
User: Sergey Karakovskiy
Date: Apr 12, 2009
Time: 12:44:51 AM
Package: .Tools
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EvaluationInfo.EvaluationResult
-
Field Summary
Fields Modifier and Type Field Description int
coinsGained
int
collisionsWithCreatures
int
distancePassedCells
int
distancePassedPhys
int
flowersDevoured
int
greenMushroomsDevoured
int
hiddenBlocksFound
int
killsByFire
int
killsByShell
int
killsByStomp
int
killsTotal
int
levelLength
Mario.MarioMode
marioMode
int
marioStatus
int[][]
marioTrace
java.lang.String
marioTraceFileName
java.lang.String
Memo
int
mushroomsDevoured
static int
numberOfElements
int
timeLeft
int
timeSpent
int
totalNumberOfCoins
int
totalNumberOfCreatures
int
totalNumberOfFlowers
int
totalNumberOfHiddenBlocks
int
totalNumberOfMushrooms
-
Constructor Summary
Constructors Constructor Description EvaluationInfo()
-
Method Summary
Modifier and Type Method Description EvaluationInfo
clone()
int
computeBasicFitness()
float
computeDistancePassed()
int
computeKillsTotal()
int
computeWeightedFitness()
int
computeWeightedFitness(SystemOfValues sov)
java.lang.String
getCSV()
java.lang.String
getCSVHeader()
EvaluationInfo.EvaluationResult
getResult()
java.lang.String
getTaskName()
void
reset()
void
setTaskName(java.lang.String name)
int[]
toIntArray()
java.lang.String
toString()
java.lang.String
toStringSingleLine()
-
Field Details
-
numberOfElements
public static final int numberOfElements- See Also:
- Constant Field Values
-
distancePassedCells
public int distancePassedCells -
distancePassedPhys
public int distancePassedPhys -
flowersDevoured
public int flowersDevoured -
killsByFire
public int killsByFire -
killsByShell
public int killsByShell -
killsByStomp
public int killsByStomp -
killsTotal
public int killsTotal -
marioMode
-
marioStatus
public int marioStatus -
mushroomsDevoured
public int mushroomsDevoured -
greenMushroomsDevoured
public int greenMushroomsDevoured -
coinsGained
public int coinsGained -
timeLeft
public int timeLeft -
timeSpent
public int timeSpent -
public int hiddenBlocksFound
-
totalNumberOfCoins
public int totalNumberOfCoins -
totalNumberOfHiddenBlocks
public int totalNumberOfHiddenBlocks -
totalNumberOfMushrooms
public int totalNumberOfMushrooms -
totalNumberOfFlowers
public int totalNumberOfFlowers -
totalNumberOfCreatures
public int totalNumberOfCreatures -
levelLength
public int levelLength -
collisionsWithCreatures
public int collisionsWithCreatures -
Memo
public java.lang.String Memo -
marioTrace
public int[][] marioTrace -
marioTraceFileName
public java.lang.String marioTraceFileName
-
-
Constructor Details
-
EvaluationInfo
public EvaluationInfo()
-
-
Method Details
-
getResult
-
computeBasicFitness
public int computeBasicFitness() -
computeWeightedFitness
-
computeWeightedFitness
public int computeWeightedFitness() -
computeDistancePassed
public float computeDistancePassed() -
computeKillsTotal
public int computeKillsTotal() -
toIntArray
public int[] toIntArray() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
toStringSingleLine
public java.lang.String toStringSingleLine() -
setTaskName
public void setTaskName(java.lang.String name) -
clone
- Overrides:
clone
in classjava.lang.Object
-
getTaskName
public java.lang.String getTaskName() -
reset
public void reset() -
getCSVHeader
public java.lang.String getCSVHeader() -
getCSV
public java.lang.String getCSV()
-