Enum vrp_core::solver::TelemetryMode[][src]

pub enum TelemetryMode {
    None,
    OnlyLogging {
        logger: Arc<dyn Fn(&str)>,
        log_best: usize,
        log_population: usize,
        dump_population: bool,
    },
    OnlyMetrics {
        track_population: usize,
    },
    All {
        logger: Arc<dyn Fn(&str)>,
        log_best: usize,
        log_population: usize,
        track_population: usize,
        dump_population: bool,
    },
}

Specifies a telemetry mode.

Variants

None

No telemetry at all.

OnlyLogging

Only logging.

Fields of OnlyLogging

logger: Arc<dyn Fn(&str)>

A logger type.

log_best: usize

Specifies how often best individual is logged.

log_population: usize

Specifies how often population is logged.

dump_population: bool

Specifies whether population should be dumped.

OnlyMetrics

Only metrics collection.

Fields of OnlyMetrics

track_population: usize

Specifies how often population is tracked.

All

Both logging and metrics collection.

Fields of All

logger: Arc<dyn Fn(&str)>

A logger type.

log_best: usize

Specifies how often best individual is logged.

log_population: usize

Specifies how often population is logged.

track_population: usize

Specifies how often population is tracked.

dump_population: bool

Specifies whether population should be dumped.

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>,