You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose that your model is a POMDP, if you want to manipulate the actions, you still always have to fight against the typechecker because it thinks that actions might be None.
We've decided against using inheritance, so this is just a natural consequence of that.
One (complex) way to refactor the model class to fix this would be by using Mixins for all of the model features like actions, observations, etc, creating a seperate class for the model types.
The text was updated successfully, but these errors were encountered:
Suppose that your model is a POMDP, if you want to manipulate the
actions
, you still always have to fight against the typechecker because it thinks thatactions
might beNone
.We've decided against using inheritance, so this is just a natural consequence of that.
One (complex) way to refactor the model class to fix this would be by using Mixins for all of the model features like actions, observations, etc, creating a seperate class for the model types.
The text was updated successfully, but these errors were encountered: