pub struct Problem {
pub id: String,
pub version: String,
pub config: ProblemConfig,
pub bounds: Bounds,
}Expand description
A registered problem: benchmark.sphere, benchmark.rosenbrock or
gtop.cassini1.
Fields§
§id: StringThe problem’s identifier.
version: StringThe problem’s version, 1.
config: ProblemConfigThe problem’s configuration.
bounds: BoundsThe search box.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Problem
impl<'de> Deserialize<'de> for Problem
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
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Forget for Problem
impl Freeze for Problem
impl Move for Problem
impl RefUnwindSafe for Problem
impl Send for Problemwhere
RawVecInner: Send,
impl Sync for Problemwhere
RawVecInner: Sync,
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problemwhere
RawVecInner: UnwindSafe,
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