pub struct OptimizeView {Show 15 fields
pub names: Vec<String>,
pub x0: Vec<f64>,
pub x: Vec<f64>,
pub applicable: Vec<bool>,
pub applied: bool,
pub merit0: f64,
pub merit: f64,
pub history: Vec<f64>,
pub iterations: usize,
pub evals: usize,
pub stop: String,
pub terms: Vec<TermValue>,
pub notes: Vec<String>,
pub global_search: Option<GlobalView>,
pub glass: Option<GlassView>,
}Expand description
最適化(optimize)の結果
Fields§
§names: Vec<String>変数の名前
x0: Vec<f64>変数の初めの値・最適化した値
x: Vec<f64>§applicable: Vec<bool>読み込んだ系の構成に効く変数か(apply で当てられるもの)
applied: bool読み込んだ系に当てたか
merit0: f64§merit: f64§history: Vec<f64>反復ごとの評価関数の値(初期値を含む)
iterations: usize§evals: usize§stop: String止まった理由(converged・small_step・no_progress・max_iter・jacobian_failed・cancelled)
terms: Vec<TermValue>項ごとの値(既定の評価関数の項が先)
notes: Vec<String>§global_search: Option<GlobalView>大域の探索(starts が 2 以上)の結果
glass: Option<GlassView>ガラスの置き換え(glass)の結果
Trait Implementations§
Source§impl Clone for OptimizeView
impl Clone for OptimizeView
Source§impl Debug for OptimizeView
impl Debug for OptimizeView
Source§impl Default for OptimizeView
impl Default for OptimizeView
Source§impl<'de> Deserialize<'de> for OptimizeView
impl<'de> Deserialize<'de> for OptimizeView
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
Source§impl PartialEq for OptimizeView
impl PartialEq for OptimizeView
Source§impl Serialize for OptimizeView
impl Serialize for OptimizeView
impl StructuralPartialEq for OptimizeView
Auto Trait Implementations§
impl Freeze for OptimizeView
impl RefUnwindSafe for OptimizeView
impl Send for OptimizeView
impl Sync for OptimizeView
impl Unpin for OptimizeView
impl UnsafeUnpin for OptimizeView
impl UnwindSafe for OptimizeView
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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