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

pub enum TelemetryMode {
    None,
    OnlyLogging {
        logger: InfoLogger,
        log_best: usize,
        log_population: usize,
        dump_population: bool,
    },
    OnlyMetrics {
        track_population: usize,
    },
    All {
        logger: InfoLogger,
        log_best: usize,
        log_population: usize,
        track_population: usize,
        dump_population: bool,
    },
}
Expand description

Specifies a telemetry mode.

Variants

None

No telemetry at all.

OnlyLogging

Only logging.

Fields of OnlyLogging

logger: InfoLogger

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: InfoLogger

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

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.