Trait border_core::Policy
source · [−]pub trait Policy<E: Env> {
type Config: Clone;
fn build(config: Self::Config) -> Self;
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.