Skip to content

Commit

Permalink
Gaussian HMC in Cooling Gaussian
Browse files Browse the repository at this point in the history
  • Loading branch information
vgnecula committed May 27, 2024
1 parent 9114f37 commit cca44a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,5 +271,4 @@ private :
};


#endif // RANDOM_WALKS_GAUSSIAN_HMC_WALK_HPP

#endif // RANDOM_WALKS_GAUSSIAN_HMC_WALK_HPP
10 changes: 4 additions & 6 deletions include/volume/volume_cooling_gaussians.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
#include <chrono>

#include "cartesian_geom/cartesian_kernel.h"
#include "random_walks/gaussian_helpers.hpp"
#include "random_walks/gaussian_ball_walk.hpp"
#include "random_walks/gaussian_cdhr_walk.hpp"
#include "random_walks/random_walks.hpp"
#include "sampling/random_point_generators.hpp"
#include "volume/math_helpers.hpp"

Expand Down Expand Up @@ -457,7 +455,7 @@ double volume_cooling_gaussians(Polytope& Pin,

template
<
typename WalkTypePolicy = GaussianCDHRWalk,
typename WalkTypePolicy = GaussianHamiltonianMonteCarloExactWalk,
typename RandomNumberGenerator = BoostRandomNumberGenerator<boost::mt11213b, double>,
typename Polytope
>
Expand All @@ -472,7 +470,7 @@ double volume_cooling_gaussians(Polytope &Pin,

template
<
typename WalkTypePolicy = GaussianCDHRWalk,
typename WalkTypePolicy = GaussianHamiltonianMonteCarloExactWalk,
typename RandomNumberGenerator = BoostRandomNumberGenerator<boost::mt11213b, double>,
typename Polytope
>
Expand All @@ -487,4 +485,4 @@ double volume_cooling_gaussians(Polytope &Pin,
return volume_cooling_gaussians<WalkTypePolicy>(Pin, rng, error, walk_length);
}

#endif // VOLUME_COOLING_GAUSSIANS_HPP
#endif // VOLUME_COOLING_GAUSSIANS_HPP

0 comments on commit cca44a0

Please sign in to comment.