MDP constructor
MDP({})
Implementation
MDP({
required this.nStates,
required this.nActions,
required this.P,
required this.R,
}) {
if (P.length != nStates) throw ArgumentError('P shape mismatch');
if (R.length != nStates) throw ArgumentError('R shape mismatch');
}