Struct vrp_core::solver::population::RosomaxaConfig[][src]

pub struct RosomaxaConfig {
    pub selection_size: usize,
    pub elite_size: usize,
    pub node_size: usize,
    pub spread_factor: f64,
    pub distribution_factor: f64,
    pub learning_rate: f64,
    pub rebalance_memory: usize,
    pub rebalance_count: usize,
    pub exploration_ratio: f64,
}

Specifies rosomaxa configuration settings.

Fields

selection_size: usize

Selection size.

elite_size: usize

Elite population size.

node_size: usize

Node population size.

spread_factor: f64

Spread factor of GSOM.

distribution_factor: f64

Distribution factor of GSOM.

learning_rate: f64

Learning rate of GSOM.

rebalance_memory: usize

A node rebalance memory of GSOM.

rebalance_count: usize

A rebalance count.

exploration_ratio: f64

A ratio of exploration phase.

Implementations

impl RosomaxaConfig[src]

pub fn new_with_defaults(selection_size: usize) -> Self[src]

Creates an instance of RosomaxaConfig using default parameters, but taking into account data parallelism settings.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,