SelectionLearningModel

Trait SelectionLearningModel 

Source
pub trait SelectionLearningModel {
    // Required methods
    fn update(&mut self, record: &SelectionRecord, result: &ExecutionResult);
    fn predict_performance(
        &self,
        circuit: &dyn CircuitInterface,
        platform: &str,
    ) -> f64;
}
Expand description

Selection learning model trait

Required Methods§

Source

fn update(&mut self, record: &SelectionRecord, result: &ExecutionResult)

Update model with execution results

Source

fn predict_performance( &self, circuit: &dyn CircuitInterface, platform: &str, ) -> f64

Predict platform performance

Implementors§