Struct vrp_core::algorithms::gsom::Node [−][src]
pub struct Node<I: Input, S: Storage<Item = I>> {
pub weights: Vec<f64>,
pub error: f64,
pub total_hits: usize,
pub last_hits: VecDeque<usize>,
pub coordinate: Coordinate,
pub topology: Topology<I, S>,
pub storage: S,
pub creation_time: usize,
// some fields omitted
}Expand description
Represents a node in network.
Fields
weights: Vec<f64>A weight vector.
error: f64An error of the neuron.
total_hits: usizeTracks amount of times node is selected as BU.
last_hits: VecDeque<usize>Tracks last hits,
coordinate: CoordinateA coordinate in network.
topology: Topology<I, S>A reference to topology.
storage: SRemembers passed data.
creation_time: usizeA node creating time.
Implementations
Creates a new instance of Node.