Skip to content

Commit

Permalink
Organized Example file directories
Browse files Browse the repository at this point in the history
  • Loading branch information
vgnecula committed Jul 4, 2024
1 parent f68acae commit b5b015e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions examples/crhmc_cooling_gaussians/volume_example.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#include "Eigen/Eigen"
#include <vector>
#include "cartesian_geom/cartesian_kernel.h"
#include "convex_bodies/hpolytope.h"
#include "generators/known_polytope_generators.h"

#include "random_walks/random_walks.hpp"
#include "volume/volume_sequence_of_balls.hpp"
#include "volume/volume_cooling_gaussians_crhmc.hpp"
#include "volume/volume_cooling_balls.hpp"

#include <iostream>
#include <fstream>
Expand All @@ -25,7 +18,7 @@ void calculateAndVerifyVolume(HPOLYTOPE& polytope) {

RandomNumberGenerator rng(polytope.dimension());

NT volume = volume_cooling_gaussians<HPOLYTOPE, RandomNumberGenerator>(polytope, rng, e, walk_len);
NT volume = volume_cooling_gaussians_crhmc<HPOLYTOPE, RandomNumberGenerator>(polytope, rng, e, walk_len);

std::cout << "Volume " << volume << std::endl;
}
Expand Down
2 changes: 1 addition & 1 deletion include/volume/volume_cooling_gaussians_crhmc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ template
typename WalkTypePolicy = CRHMCWalk,
int simdLen = 8
>
double volume_cooling_gaussians(Polytope& Pin,
double volume_cooling_gaussians_crhmc(Polytope& Pin,
RandomNumberGenerator& rng,
double const& error = 0.1,
unsigned int const& walk_length = 1)
Expand Down

0 comments on commit b5b015e

Please sign in to comment.