Struct renforce::environment::Finite
[−]
[src]
pub struct Finite { /* fields omitted */ }
Finite
Represents a Space with finitely many elements, {0, 1, 2, ..., size-1}
Methods
impl Finite
[src]
Trait Implementations
impl Debug for Finite
[src]
impl Clone for Finite
[src]
fn clone(&self) -> Finite
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Finite
[src]
impl Space for Finite
[src]
type Element = u32
The type of members of the Space
fn sample(&self) -> u32
Returns a random element of this space