pub trait KernelFunctions {
// Required methods
fn pareto_front(&self) -> ParetoFront;
fn stats(&self) -> Stats;
fn attach_logger<L: WriteSolverLog + 'static>(&mut self, logger: L);
fn detach_logger(&mut self) -> Option<Box<dyn WriteSolverLog>>;
fn interrupter(&mut self) -> Interrupter;
}
Expand description
Shared functionality provided by the [Kernel
]
Required Methods§
Sourcefn pareto_front(&self) -> ParetoFront
fn pareto_front(&self) -> ParetoFront
Gets the Pareto front discovered so far
Sourcefn attach_logger<L: WriteSolverLog + 'static>(&mut self, logger: L)
fn attach_logger<L: WriteSolverLog + 'static>(&mut self, logger: L)
Attaches a logger to the solver
Sourcefn detach_logger(&mut self) -> Option<Box<dyn WriteSolverLog>>
fn detach_logger(&mut self) -> Option<Box<dyn WriteSolverLog>>
Detaches a logger from the solver
Sourcefn interrupter(&mut self) -> Interrupter
fn interrupter(&mut self) -> Interrupter
Gets an iterrupter to the solver
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.