pub fn add(
        &mut self,
        mcmove: Box<dyn MCMove>,
        frequency: f64,
        target_acceptance: impl Into<Option<f64>>,
    ) {
        self.moves.push(Move::new(mcmove, target_acceptance.into()));
        self.frequencies.push(frequency);
    }
/// Add the `mcmove` Monte Carlo move to the propagator. `frequency`
/// describes how frequently the move will be called, and
/// `target_acceptance` is the desired acceptance ratio of the move.
Add the `mcmove` Monte Carlo move to the propagator. `frequency`
describes how frequently the move will be called, and
`target_acceptance` is the desired acceptance ratio of the move.
Add the ` mcmove ` Monte Carlo move to the propagator . ` frequency ` describes how frequently the move will be called and ` target_acceptance ` is the desired acceptance ratio of the move .
pub fn add(
        &mut self,
        mcmove: Box<dyn MCMove>,
        frequency: f64,
        target_acceptance: impl Into<Option<f64>>,
    ) {
        self.moves.push(Move::new(mcmove, target_acceptance.into()));
        self.frequencies.push(frequency);
    }
pub fn add ( & mut self , mcmove : Box < dyn MCMove > , frequency : f64 , target_acceptance : impl Into < Option < f64 > > , ) { self . moves . push ( Move :: new ( mcmove , target_acceptance . into ( ) ) ) ; self . frequencies . push ( frequency ) ; }
Add the `mcmove` Monte Carlo move to the propagator.
Add the ` mcmove ` Monte Carlo move to the propagator .
&mut self
mcmove
Box<dyn MCMove>
frequency
f64
target_acceptance
impl Into<Option<f64>>