Trait relearn::envs::IntoEnv[][src]

pub trait IntoEnv {
    type Environment;
    fn into_env(self, seed: u64) -> Self::Environment;
}
Expand description

Convert into an Environment.

Associated Types

Required methods

Convert into an environment.

Args
  • seed - Seed for pseudo-randomness in the environment state and transition dynamics. The environment structure itself should not be random; seed any structural randomness from the environment configuration.

Implementors