pub trait Space { type Value: Debug + Clone; fn dim(&self) -> usize; fn card(&self) -> Card; }
Trait for defining geometric spaces.
The data representation of the space.
Return the dimensionality of the space.
Return the number of elements in the set composing the space.