#[non_exhaustive]pub enum ShgoSampling {
Simplicial,
Sobol,
}Expand description
How shgo samples the box.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Simplicial
SciPy’s default: the 2^d corners and the centre of the box, triangulated, and refined at each further
iteration by adding the midpoints of all edges. Practical up to about six variables.
Sobol
The first n · iters points of the (unscrambled) Sobol sequence, triangulated once.
Trait Implementations§
Source§impl Clone for ShgoSampling
impl Clone for ShgoSampling
impl Copy for ShgoSampling
Source§impl Debug for ShgoSampling
impl Debug for ShgoSampling
impl Eq for ShgoSampling
Source§impl PartialEq for ShgoSampling
impl PartialEq for ShgoSampling
impl StructuralPartialEq for ShgoSampling
Auto Trait Implementations§
impl Freeze for ShgoSampling
impl RefUnwindSafe for ShgoSampling
impl Send for ShgoSampling
impl Sync for ShgoSampling
impl Unpin for ShgoSampling
impl UnsafeUnpin for ShgoSampling
impl UnwindSafe for ShgoSampling
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