pub trait Policy<E: Env> {
// Required method
fn sample(&mut self, obs: &E::Obs) -> E::Act;
}
Expand description
A policy on an environment.
Policy is a mapping from an observation to an action. The mapping can be either of deterministic or stochastic.