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>Expand description
A weight vector.
error: f64Expand description
An error of the neuron.
total_hits: usizeExpand description
Tracks amount of times node is selected as BU.
last_hits: VecDeque<usize>Expand description
Tracks last hits,
coordinate: CoordinateExpand description
A coordinate in network.
topology: Topology<I, S>Expand description
A reference to topology.
storage: SExpand description
Remembers passed data.
creation_time: usizeExpand description
A node creating time.
Implementations
impl<I: Input, S: Storage<Item = I>> Node<I, S>[src]
impl<I: Input, S: Storage<Item = I>> Node<I, S>[src]Auto Trait Implementations
impl<I, S> RefUnwindSafe for Node<I, S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<I, S> Send for Node<I, S>
impl<I, S> Sync for Node<I, S>
impl<I, S> Unpin for Node<I, S> where
S: Unpin,
S: Unpin,
impl<I, S> UnwindSafe for Node<I, S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,