Struct vrp_core::solver::Telemetry [−][src]
pub struct Telemetry { /* fields omitted */ }Expand description
Provides way to collect metrics and write information into log.
Implementations
Creates a new instance of Telemetry.
Reports initial solution statistics.
pub fn on_generation(
&mut self,
refinement_ctx: &mut RefinementContext,
termination_estimate: f64,
generation_time: Timer,
is_improved: bool
)
pub fn on_generation(
&mut self,
refinement_ctx: &mut RefinementContext,
termination_estimate: f64,
generation_time: Timer,
is_improved: bool
)
Reports generation statistics.
Reports final statistic.
Gets metrics.