I defined two functions for my Solver class as follows:
Solver
solver.h
class Solver: public DSPOMDP { friend class State; protected: