pub struct SimulatedAnnealingConfiguration {
pub initial_temperature: f32,
pub final_temperature: f32,
pub sweeps: usize,
pub seed: u64,
pub trace: bool,
}Expand description
Parameters for simulated annealing.
initial_temperature: temperature at the zeroth stepfinal_temperature: temperature at thestep sweeps: number of sampling stepsseed: rng seed that ensures the whole process to be repeatabletrace: if true, then it will keep track of all states found on the way to the ground state
Fields§
§initial_temperature: f32§final_temperature: f32§sweeps: usize§seed: u64§trace: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for SimulatedAnnealingConfiguration
impl RefUnwindSafe for SimulatedAnnealingConfiguration
impl Send for SimulatedAnnealingConfiguration
impl Sync for SimulatedAnnealingConfiguration
impl Unpin for SimulatedAnnealingConfiguration
impl UnwindSafe for SimulatedAnnealingConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more