pub struct SolutionInfo {
pub obj: f64,
pub rho: f64,
pub upper_bound_p: f64,
pub upper_bound_n: f64,
pub r: f64,
}Expand description
Result of the solver.
Fields§
§obj: f64Final dual objective value reported like LIBSVM’s SolutionInfo::obj.
rho: f64Bias term (rho) for the solved decision function.
upper_bound_p: f64Positive-class box constraint used by the solved sub-problem.
upper_bound_n: f64Negative-class box constraint used by the solved sub-problem.
r: f64Extra value for Nu solver: (r1 + r2) / 2.
Trait Implementations§
Source§impl Clone for SolutionInfo
impl Clone for SolutionInfo
Source§fn clone(&self) -> SolutionInfo
fn clone(&self) -> SolutionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SolutionInfo
impl RefUnwindSafe for SolutionInfo
impl Send for SolutionInfo
impl Sync for SolutionInfo
impl Unpin for SolutionInfo
impl UnsafeUnpin for SolutionInfo
impl UnwindSafe for SolutionInfo
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
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