Trait Problem

Source
pub trait Problem:
    Send
    + Sync
    + Clone {
    // Provided method
    fn objectivefunction(&mut self, genome: &mut [f64]) -> f64 { ... }
}

Provided Methods§

Source

fn objectivefunction(&mut self, genome: &mut [f64]) -> f64

Define the objective function to be called in sequential mode. In sequential run, the problem can be modified (safely) when the objective function is called.

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.

Implementors§