pub struct AlgorithmSwitchRecommendation {
pub recommended_config: OptimalConfiguration,
pub confidence_score: f64,
pub expected_improvement: f64,
pub switch_cost: Duration,
}Expand description
Algorithm switching recommendation
Fields§
§recommended_config: OptimalConfigurationRecommended configuration
confidence_score: f64Confidence in recommendation (0.0-1.0)
expected_improvement: f64Expected performance improvement
switch_cost: DurationCost of switching algorithms
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlgorithmSwitchRecommendation
impl RefUnwindSafe for AlgorithmSwitchRecommendation
impl Send for AlgorithmSwitchRecommendation
impl Sync for AlgorithmSwitchRecommendation
impl Unpin for AlgorithmSwitchRecommendation
impl UnwindSafe for AlgorithmSwitchRecommendation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more