[][src]Struct kurobako_solvers::asha::AshaSolverRecipe

pub struct AshaSolverRecipe {
    pub min_step_rate: f64,
    pub min_step: Option<u64>,
    pub reduction_factor: usize,
    pub without_checkpoint: bool,
    pub base_solver: JsonRecipe,
}

Recipe of AshaSolver.

Fields

min_step_rate: f64

Rate to determine the value of min_step.

The value of min_step will be set to problem.steps.last() * min_step_rate. If min_step is given, this field is ignored.

min_step: Option<u64>

Minimum resource parameter of AHSA.

reduction_factor: usize

Reduction factor parameter of ASHA.

without_checkpoint: bool

If this flag is set, ASHA assumes that problems don't support checkpointing.

base_solver: JsonRecipe

Recipe of the base solver.

Trait Implementations

impl Clone for AshaSolverRecipe[src]

impl Debug for AshaSolverRecipe[src]

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

impl Serialize for AshaSolverRecipe[src]

impl StructOpt for AshaSolverRecipe[src]

impl SolverRecipe for AshaSolverRecipe[src]

type Factory = AshaSolverFactory

The type of he factory creating solver instances from this recipe.

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> BorrowMut<T> 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]

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