pub trait OutcomeEngineContract {
// Required methods
fn observe(&mut self, event: LearningEvent);
fn predict_outcome(&self, task_profile: &TaskProfileV1) -> f64;
}Expand description
Extension point for Enterprise outcome engines such as AdaptiveOutcomeEngine.
Required Methods§
Sourcefn observe(&mut self, event: LearningEvent)
fn observe(&mut self, event: LearningEvent)
Record an observed outcome for a prior decision.
Sourcefn predict_outcome(&self, task_profile: &TaskProfileV1) -> f64
fn predict_outcome(&self, task_profile: &TaskProfileV1) -> f64
Estimate an outcome score for a task profile in the inclusive 0.0..=1.0 range.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".