[][src]Struct kurobako::benchmark::BenchmarkSpec

pub struct BenchmarkSpec {
    pub solvers: Vec<KurobakoSolverRecipe>,
    pub problems: Vec<FullKurobakoProblemRecipe>,
    pub budget: usize,
    pub iterations: usize,
}

Fields

solvers: Vec<KurobakoSolverRecipe>problems: Vec<FullKurobakoProblemRecipe>budget: usizeiterations: usize

Methods

impl BenchmarkSpec[src]

pub fn len(&self) -> usize[src]

pub fn run_specs<'a>(&'a self) -> Box<dyn Iterator<Item = RunSpec> + 'a>[src]

Trait Implementations

impl Debug for BenchmarkSpec[src]

impl Serialize for BenchmarkSpec[src]

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

impl StructOpt for BenchmarkSpec[src]

fn from_args() -> Self[src]

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

fn from_iter<I>(iter: I) -> Self where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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

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