pub struct AlgorithmRecommendation {
pub algorithm: FftAlgorithm,
pub fallback: Option<FftAlgorithm>,
pub confidence: f64,
pub estimated_time_ns: Option<u64>,
pub estimated_memory_bytes: usize,
pub reasoning: Vec<String>,
pub use_parallel: bool,
pub recommended_threads: usize,
pub use_simd: bool,
pub use_inplace: bool,
pub input_characteristics: InputCharacteristics,
}Expand description
Algorithm recommendation with metadata
Fields§
§algorithm: FftAlgorithmRecommended primary algorithm
fallback: Option<FftAlgorithm>Fallback algorithm if primary is not suitable
confidence: f64Confidence score (0.0 to 1.0)
estimated_time_ns: Option<u64>Estimated execution time (nanoseconds)
estimated_memory_bytes: usizeEstimated memory usage (bytes)
reasoning: Vec<String>Reasoning for the selection
use_parallel: boolWhether to use parallel execution
recommended_threads: usizeRecommended number of threads
use_simd: boolWhether to use SIMD optimization
use_inplace: boolWhether to use in-place computation
input_characteristics: InputCharacteristicsInput characteristics that led to this recommendation
Trait Implementations§
Source§impl Clone for AlgorithmRecommendation
impl Clone for AlgorithmRecommendation
Source§fn clone(&self) -> AlgorithmRecommendation
fn clone(&self) -> AlgorithmRecommendation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlgorithmRecommendation
impl Debug for AlgorithmRecommendation
Source§impl<'de> Deserialize<'de> for AlgorithmRecommendation
impl<'de> Deserialize<'de> for AlgorithmRecommendation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AlgorithmRecommendation
impl RefUnwindSafe for AlgorithmRecommendation
impl Send for AlgorithmRecommendation
impl Sync for AlgorithmRecommendation
impl Unpin for AlgorithmRecommendation
impl UnsafeUnpin for AlgorithmRecommendation
impl UnwindSafe for AlgorithmRecommendation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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