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)

Node coordinate in network.

unified_distance: f64

Unified distance to neighbors.

weights: Vec<f64>

Node weights.

total_hits: usize

Total hits.

last_hits: usize

Last hits.

dump: String

A dump of underlying node’s storage.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.