MemoryTest

Trait MemoryTest 

Source
pub trait MemoryTest<A: Float>: Debug {
    // Required methods
    fn run_memory_test(
        &self,
        plugin: &mut dyn OptimizerPlugin<A>,
    ) -> MemoryTestResult;
    fn name(&self) -> &str;
    fn memory_constraints(&self) -> MemoryConstraints;
}
Expand description

Memory test trait

Required Methods§

Source

fn run_memory_test( &self, plugin: &mut dyn OptimizerPlugin<A>, ) -> MemoryTestResult

Run memory test

Source

fn name(&self) -> &str

Get test name

Source

fn memory_constraints(&self) -> MemoryConstraints

Get memory constraints

Implementors§