In the function void MDP::solve() we copy the whole vector d_valueA = d_valueB. However, we do not need d_valueB anymore after this call so we may swap the vectors. This might help when the state space gets really large.
I can also image that is doesn't help. So postpone this issue such that we can test later on.
In the function void
MDP::solve()we copy the whole vectord_valueA = d_valueB. However, we do not needd_valueBanymore after this call so we may swap the vectors. This might help when the state space gets really large.I can also image that is doesn't help. So postpone this issue such that we can test later on.