add BlackJack environment and fix save and load

- method names were swapped
This commit is contained in:
2020-03-01 13:51:47 +01:00
parent cff1a4e531
commit 18a702ba62
12 changed files with 337 additions and 2 deletions
@@ -109,7 +109,7 @@ public class RLController<A extends Enum> implements LearningListener {
}
}
protected void saveState(String fileName) {
protected void loadState(String fileName) {
FileInputStream fis;
ObjectInputStream in;
try {
@@ -124,7 +124,7 @@ public class RLController<A extends Enum> implements LearningListener {
}
}
protected void loadState(String fileName) {
protected void saveState(String fileName) {
FileOutputStream fos;
ObjectOutputStream out;
try {