Struct argmin::solver::simulatedannealing::SimulatedAnnealing [−][src]
pub struct SimulatedAnnealing<F, R> { /* fields omitted */ }
Expand description
Simulated Annealing
References
[0] Wikipedia
[1] S Kirkpatrick, CD Gelatt Jr, MP Vecchi. (1983). “Optimization by Simulated Annealing”. Science 13 May 1983, Vol. 220, Issue 4598, pp. 671-680 DOI: 10.1126/science.220.4598.671
Implementations
Constructor
Parameter:
init_temp
: initial temperaturerng
: an RNG (must implement Serialize)
Set temperature function to one of the options in SATempFunc
.
The optimization stops after there has been no accepted solution after iter
iterations
The optimization stops after there has been no new best solution after iter
iterations
Start reannealing after iter
iterations
Start reannealing after no accepted solution has been found for iter
iterations
Start reannealing after no new best solution has been found for iter
iterations
Trait Implementations
impl<'de, F, R> Deserialize<'de> for SimulatedAnnealing<F, R> where
F: Deserialize<'de>,
R: Deserialize<'de>,
impl<'de, F, R> Deserialize<'de> for SimulatedAnnealing<F, R> where
F: Deserialize<'de>,
R: Deserialize<'de>,
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<O, F, R> Solver<O> for SimulatedAnnealing<F, R> where
O: ArgminOp<Output = F, Float = F>,
F: ArgminFloat,
R: Rng + Serialize,
impl<O, F, R> Solver<O> for SimulatedAnnealing<F, R> where
O: ArgminOp<Output = F, Float = F>,
F: ArgminFloat,
R: Rng + Serialize,
Auto Trait Implementations
impl<F, R> RefUnwindSafe for SimulatedAnnealing<F, R> where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<F, R> Send for SimulatedAnnealing<F, R> where
F: Send,
R: Send,
impl<F, R> Sync for SimulatedAnnealing<F, R> where
F: Sync,
R: Sync,
impl<F, R> Unpin for SimulatedAnnealing<F, R> where
F: Unpin,
R: Unpin,
impl<F, R> UnwindSafe for SimulatedAnnealing<F, R> where
F: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more