Trait pmcore::prelude::Predictions
pub trait Predictions: Default {
// Required methods
fn squared_error(&self) -> f64;
fn get_predictions(&self) -> &Vec<Prediction>;
// Provided method
fn new(_nparticles: usize) -> Self { ... }
}
Required Methods§
fn squared_error(&self) -> f64
fn get_predictions(&self) -> &Vec<Prediction>
Provided Methods§
Object Safety§
This trait is not object safe.