CRAAM
2.0.0
Robust and Approximate Markov Decision Processes
|
Internal helper functions. More...
Functions | |
template<class SType > | |
Transition | mean_transition_state (const SType &state, long index, const pair< indvec, vector< numvec >> &policies) |
Helper function to deal with variable indexing. | |
template<class SType > | |
Transition | mean_transition_state (const SType &state, long index, const indvec &policy) |
Helper function to deal with variable indexing. | |
template<class SType > | |
prec_t | mean_reward_state (const SType &state, long index, const pair< indvec, vector< numvec >> &policies) |
Helper function to deal with variable indexing. | |
template<class SType > | |
prec_t | mean_reward_state (const SType &state, long index, const indvec &policy) |
Helper function to deal with variable indexing. | |
template<class T1 , class T2 > | |
vector< pair< T1, T2 > > | zip (const vector< T1 > &v1, const vector< T2 > &v2) |
template<class T1 , class T2 > | |
vector< pair< T1, T2 > > | zip (const T1 &v1, const vector< T2 > &v2) |
Internal helper functions.