Package net.royalur.lut
Class LutTrainer
java.lang.Object
net.royalur.lut.LutTrainer
A lookup table based upon game states.
-
Constructor Summary
ConstructorsConstructorDescriptionLutTrainer(GameSettings settings, GameStateEncoding encoding, ValueType trainingValueType, JsonNotation jsonNotation) -
Method Summary
Modifier and TypeMethodDescriptionpopulateKeys(int upperKeyFilter) populateNewLut(int upperKeyLimit) populateNewMap(int upperKeyFilter) LutMap[]populateNewMaps(int upperKeyLimit) void
-
Constructor Details
-
LutTrainer
public LutTrainer(GameSettings settings, GameStateEncoding encoding, ValueType trainingValueType, JsonNotation jsonNotation)
-
-
Method Details
-
populateKeys
-
populateNewMap
-
populateNewMaps
-
populateNewLut
-
populateNewLut
-
train
- Throws:
IOException
-
train
public Lut train(Lut lut, File checkpointFile, ValueType outputValueType, double tolerance) throws IOException - Throws:
IOException
-