pub trait Space {
type Value: Clone;
const DIM: usize;
fn card(&self) -> Card;
fn contains(&self, val: &Self::Value) -> bool;
}
Expand description
Trait for defining geometric spaces.
pub trait Space {
type Value: Clone;
const DIM: usize;
fn card(&self) -> Card;
fn contains(&self, val: &Self::Value) -> bool;
}
Trait for defining geometric spaces.