Skip to content

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);

Make one Metropolis sweep confined to a window, with tabulated acceptance probabilities.