Skip to content

Commit b12ec90

Browse files
committed
update Qtable method
1 parent 43b37f2 commit b12ec90

8 files changed

Lines changed: 231 additions & 73 deletions

File tree

include/BaseModel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace ReinforcementLearning {
1818
}
1919
virtual void createInitialState() = 0;
2020
virtual int getNumActions(){ return numActions;}
21-
virtual double getRewards() const{}
22-
virtual bool terminate() const{}
21+
virtual double getRewards() {}
22+
virtual bool terminate() {}
2323
protected:
2424
State currState, prevState;
2525
int numActions;

include/DeepLearning.pb.h

Lines changed: 77 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)