Package edu.wisc.game.tools
Class MwByHuman.MwSeries
java.lang.Object
edu.wisc.game.tools.MwByHuman.MwSeries
- Enclosing class:
- MwByHuman
public static class MwByHuman.MwSeries extends Object
The data for a series (group of episodes played by one player under the same rule set) needed to contribute a number to an M-W Comparandum. For each episode, we need these data:
playerId episodeId ruleSetName predecessors achieved10 m*
-
Field Summary
Fields Modifier and Type Field Description String
ruleSetName
-
Method Summary
Modifier and Type Method Description String
getKey(MwByHuman.PrecMode mode)
The 'key' (what comparandum, if any, this series belongs to) depends on the modeboolean
getLearned()
String
getLightKey()
Used for EveryCond; only lists the preceding, and does not include the targetdouble
getMDagger()
int
getMDaggerInt()
double
getMStar()
int
getMStarInt()
An integer approimation to MStarint
getTotalErrors()
int
getTotalMoves()
static void
readFromFile(File f, Vector<MwByHuman.MwSeries> into)
Reads a CSV file with MwSeries entries.void
setForcedKey(String key)
-
Field Details
-
Method Details
-
setForcedKey
-
getKey
The 'key' (what comparandum, if any, this series belongs to) depends on the mode -
getLightKey
Used for EveryCond; only lists the preceding, and does not include the target -
getLearned
public boolean getLearned() -
getTotalErrors
public int getTotalErrors() -
getTotalMoves
public int getTotalMoves() -
getMStar
public double getMStar() -
getMStarInt
public int getMStarInt()An integer approimation to MStar -
getMDaggerInt
public int getMDaggerInt() -
getMDagger
public double getMDagger() -
readFromFile
public static void readFromFile(File f, Vector<MwByHuman.MwSeries> into) throws IOException, IllegalInputExceptionReads a CSV file with MwSeries entries.- Parameters:
into
- Adds the data into this vector.- Throws:
IOException
IllegalInputException
-