pub enum CoarseToFineStrategy {
GridRefinement {
initial_grid_size: usize,
refinement_factor: Float,
n_refinement_levels: usize,
},
HierarchicalSampling {
initial_samples: usize,
samples_per_level: usize,
focus_radius: Float,
},
ZoomIn {
zoom_factor: Float,
n_zoom_levels: usize,
top_k_regions: usize,
},
MultiScale {
scales: Vec<Float>,
samples_per_scale: usize,
},
}Expand description
Coarse-to-fine optimization strategy
Variants§
GridRefinement
Grid refinement: start with coarse grid, refine promising regions
HierarchicalSampling
Hierarchical sampling: progressively finer sampling
ZoomIn
Zoom-in strategy: iteratively zoom into best regions
MultiScale
Multi-scale optimization
Trait Implementations§
Source§impl Clone for CoarseToFineStrategy
impl Clone for CoarseToFineStrategy
Source§fn clone(&self) -> CoarseToFineStrategy
fn clone(&self) -> CoarseToFineStrategy
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 moreAuto Trait Implementations§
impl Freeze for CoarseToFineStrategy
impl RefUnwindSafe for CoarseToFineStrategy
impl Send for CoarseToFineStrategy
impl Sync for CoarseToFineStrategy
impl Unpin for CoarseToFineStrategy
impl UnwindSafe for CoarseToFineStrategy
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