ComplexityBounds

Trait ComplexityBounds 

Source
pub trait ComplexityBounds {
    // Required methods
    fn training_complexity() -> ComplexityClass;
    fn prediction_complexity() -> ComplexityClass;
    fn space_complexity() -> ComplexityClass;
}
Expand description

Trait for algorithms with known complexity characteristics

Required Methods§

Source

fn training_complexity() -> ComplexityClass

Training time complexity

Source

fn prediction_complexity() -> ComplexityClass

Prediction time complexity

Source

fn space_complexity() -> ComplexityClass

Space complexity

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§