[][src]Struct kurobako_core::problem::ProblemSpec

pub struct ProblemSpec {
    pub name: String,
    pub attrs: BTreeMap<String, String>,
    pub params_domain: Domain,
    pub values_domain: Domain,
    pub steps: EvaluableSteps,
}

Problem specification.

Fields

name: String

Problem name.

attrs: BTreeMap<String, String>

Problem attributes.

params_domain: Domain

Domain of the parameters.

values_domain: Domain

Domain of the objective values.

steps: EvaluableSteps

List of steps.

This problem can evaluate a given parameter set at a step in this list.

Methods

impl ProblemSpec[src]

pub fn requirements(&self) -> Capabilities[src]

Returns the capabilities required to solver to handle this problem.

Trait Implementations

impl Clone for ProblemSpec[src]

impl Debug for ProblemSpec[src]

impl<'de> Deserialize<'de> for ProblemSpec[src]

impl Eq for ProblemSpec[src]

impl Hash for ProblemSpec[src]

impl PartialEq<ProblemSpec> for ProblemSpec[src]

impl Serialize for ProblemSpec[src]

impl StructuralEq for ProblemSpec[src]

impl StructuralPartialEq for ProblemSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,