Struct vrp_core::algorithms::gsom::NodeState [−][src]
pub struct NodeState {
pub coordinate: (i32, i32),
pub unified_distance: f64,
pub weights: Vec<f64>,
pub total_hits: usize,
pub last_hits: usize,
pub dump: String,
}Expand description
Contains information about network node state.
Fields
coordinate: (i32, i32)Expand description
Node coordinate in network.
unified_distance: f64Expand description
Unified distance to neighbors.
weights: Vec<f64>Expand description
Node weights.
total_hits: usizeExpand description
Total hits.
last_hits: usizeExpand description
Last hits.
dump: StringExpand description
A dump of underlying node’s storage.
Auto Trait Implementations
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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>,