pub enum TargetMethod {
Penalty,
Lagrange,
}Expand description
近軸量の目標の満たし方
Variants§
Penalty
罰金: 近軸量の項の重みを、目標に届くまで 100 倍ずつ 3 回まで上げて解き直す
Lagrange
拡大ラグランジュ法: 重みはそのまま、解いた近軸量と目標の差だけ項の目標をずらして解き直す(最大 8 回)
Implementations§
Trait Implementations§
Source§impl Clone for TargetMethod
impl Clone for TargetMethod
impl Copy for TargetMethod
Source§impl Debug for TargetMethod
impl Debug for TargetMethod
Source§impl Default for TargetMethod
impl Default for TargetMethod
impl Eq for TargetMethod
Source§impl PartialEq for TargetMethod
impl PartialEq for TargetMethod
impl StructuralPartialEq for TargetMethod
Auto Trait Implementations§
impl Freeze for TargetMethod
impl RefUnwindSafe for TargetMethod
impl Send for TargetMethod
impl Sync for TargetMethod
impl Unpin for TargetMethod
impl UnsafeUnpin for TargetMethod
impl UnwindSafe for TargetMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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