pub struct GlobalResult {
pub best: DlsResult,
pub best_start: usize,
pub solutions: Vec<Solution>,
pub ran: usize,
pub failed: usize,
pub skipped: usize,
pub cancelled: bool,
}Expand description
大域の探索の結果
Fields§
§best: DlsResult最良の解の局所の最適化の結果(x0・merit0 は今の値の始点のもの、history は最良の解の始点からのもの)
best_start: usize最良の解の始点の番号
solutions: Vec<Solution>残した解(評価関数の良い順。先頭が best)
ran: usize回した始点の数(中断で始めなかったものを除く)
failed: usize追跡できずに捨てた始点の数
skipped: usize中断で始めなかった・途中で止めた始点の数(ran・failed のどちらにも数えない)
cancelled: bool中断で止めた
Trait Implementations§
Source§impl Clone for GlobalResult
impl Clone for GlobalResult
Auto Trait Implementations§
impl !RefUnwindSafe for GlobalResult
impl !UnwindSafe for GlobalResult
impl Freeze for GlobalResult
impl Send for GlobalResult
impl Sync for GlobalResult
impl Unpin for GlobalResult
impl UnsafeUnpin for GlobalResult
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