num::markov::umbrella_sweep_prob¶
Defined in header <stochastic/detail/mcmc_impl.hpp>
template <typename ProbFn, std::invocable<idx> Apply, typename Save, typename Restore,
typename Measure, std::uniform_random_bit_generator RNG>
umbrella_stats umbrella_sweep_prob(idx n_sites, ProbFn acceptance_prob,
Apply apply_flip, Save save_state,
Restore restore_state, Measure measure_order,
umbrella_window window, RNG &rng);
Umbrella-sampled Metropolis sweep (precomputed probability variant).
Same as umbrella_sweep but uses caller-supplied acceptance probabilities.
Template parameters¶
ProbFn: Callable: idx -> realApply: Callable: idx -> voidSave: Callable: () -> voidRestore: Callable: () -> voidMeasure: Callable: () -> idxRNG: Random number generator.