pub trait StateSpace {
type State;
// Required methods
fn distance(&self, from: &Self::State, to: &Self::State) -> f64;
fn interpolate(
&self,
from: &Self::State,
to: &Self::State,
t: f64,
) -> Self::State;
}Expand description
A continuous configuration space.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".