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

Fields

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.

Only logging.

OnlyMetrics

Fields

track_population: usize

Specifies how often population is tracked.

Only metrics collection.

All

Fields

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.

Both logging and metrics collection.

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.