Trait vrp_core::algorithms::gsom::Storage [−][src]
Represents input data storage.
Associated Types
Loading content...Required methods
fn add(&mut self, input: Self::Item)
[src]
Adds an input to the storage.
fn drain(&mut self) -> Vec<Self::Item>
[src]
Removes and returns all data from the storage.
fn distance(&self, a: &[f64], b: &[f64]) -> f64
[src]
Returns a distance between two input weights.