pub struct GlassRun {
pub changes: Vec<GlassChange>,
pub tried: usize,
pub materials: Vec<(usize, String)>,
pub config_materials: Vec<(usize, Vec<String>)>,
pub reset: Vec<(String, f64)>,
pub merit_before: f64,
}Expand description
ガラスの置き換えの記録
Fields§
§changes: Vec<GlassChange>§tried: usize評価した候補の数
materials: Vec<(usize, String)>面ごとの最後の材料の名前(置き換える面の順。最初の構成の材料)
config_materials: Vec<(usize, Vec<String>)>最後の材料が構成で違う面の、構成ごとの材料の名前(問題の構成の順)
reset: Vec<(String, f64)>置き換えた面の、変数でない屈折率のずれ・分散の変化(“5.dn” など)と置き換える前の値。置き換えで 0 にした
merit_before: f64置き換える前の評価関数の値
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlassRun
impl RefUnwindSafe for GlassRun
impl Send for GlassRun
impl Sync for GlassRun
impl Unpin for GlassRun
impl UnsafeUnpin for GlassRun
impl UnwindSafe for GlassRun
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,
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