[−][src]Trait yamakan::MultiFidelityOptimizer
This trait provides ask-and-tell interface for multi-fidelity black-box optimization.
Associated Types
type Param
The parameter to be optimized.
type Value
The value obtained as a result of a parameter evaluation.
Required methods
fn ask<R: Rng, G: IdGen>(
&mut self,
rng: R,
idg: G
) -> Result<MfObs<Self::Param>>
&mut self,
rng: R,
idg: G
) -> Result<MfObs<Self::Param>>
Asks the next parameter to be evaluated.
The evaluation result should be told to this optimizer.
fn tell(&mut self, obs: MfObs<Self::Param, Self::Value>) -> Result<()>
Tells the result of an observation to this optimizer.
If there is an existing observation that has the same identifier, the state of the observation should be overwritten by the new one.
Errors
Some implementations may return an ErrorKind::UnknownObservation
error
if this optimizer does not known (or has not generated) the specified observation.
Implementors
impl<V, O> MultiFidelityOptimizer for AshaOptimizer<V, O> where
V: Ord + Clone,
O: Optimizer<Value = Ranked<V>>,
O::Param: Clone,
[src]
V: Ord + Clone,
O: Optimizer<Value = Ranked<V>>,
O::Param: Clone,