Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit for Rvolesti
Browse files Browse the repository at this point in the history
Soumya624 committed May 26, 2023
1 parent bad1a87 commit a86be1f
Showing 17 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion include/convex_bodies/vpolytope.h
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@

#include <iostream>
#include <Eigen/Eigen>
#include "lp_oracles/vpolyoracles.h"
#include "../lp_oracles/vpolyoracles.h"
#include "khach.h"

//min and max values for the Hit and Run functions
4 changes: 2 additions & 2 deletions include/convex_bodies/zpolytope.h
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@

#include <iostream>
#include <Eigen/Eigen>
#include "lp_oracles/vpolyoracles.h"
#include "lp_oracles/zpolyoracles.h"
#include "../lp_oracles/vpolyoracles.h"
#include "../lp_oracles/zpolyoracles.h"

template <typename Point>
class Zonotope {
2 changes: 1 addition & 1 deletion include/random_walks/boundary_cdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
#ifndef RANDOM_WALKS_BOUNDARY_CDHR_WALK_HPP
#define RANDOM_WALKS_BOUNDARY_CDHR_WALK_HPP

#include "sampling/sphere.hpp"
#include "../sampling/sphere.hpp"

// random directions hit-and-run walk with uniform target distribution
// from boundary
2 changes: 1 addition & 1 deletion include/random_walks/boundary_rdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
#ifndef RANDOM_WALKS_BOUNDARY_RDHR_WALK_HPP
#define RANDOM_WALKS_BOUNDARY_RDHR_WALK_HPP

#include "sampling/sphere.hpp"
#include "../sampling/sphere.hpp"

// Random directions hit-and-run walk with uniform target distribution
// from boundary
4 changes: 2 additions & 2 deletions include/random_walks/gaussian_ball_walk.hpp
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
#ifndef RANDOM_WALKS_GAUSSIAN_BALL_WALK_HPP
#define RANDOM_WALKS_GAUSSIAN_BALL_WALK_HPP

#include "sampling/sphere.hpp"
#include "random_walks/gaussian_helpers.hpp"
#include "../sampling/sphere.hpp"
#include "gaussian_helpers.hpp"

// Ball walk with spherical Gaussian target distribution

4 changes: 2 additions & 2 deletions include/random_walks/gaussian_cdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
#ifndef RANDOM_WALKS_GAUSSIAN_CDHR_WALK_HPP
#define RANDOM_WALKS_GAUSSIAN_CDHR_WALK_HPP

#include "generators/boost_random_number_generator.hpp"
#include "random_walks/gaussian_helpers.hpp"
#include "../generators/boost_random_number_generator.hpp"
#include "gaussian_helpers.hpp"

// Pick a point from the distribution exp(-a_i||x||^2) on the coordinate chord
template
4 changes: 2 additions & 2 deletions include/random_walks/gaussian_rdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
#ifndef RANDOM_WALKS_GAUSSIAN_RDHR_WALK_HPP
#define RANDOM_WALKS_GAUSSIAN_RDHR_WALK_HPP

#include "generators/boost_random_number_generator.hpp"
#include "random_walks/gaussian_helpers.hpp"
#include "../generators/boost_random_number_generator.hpp"
#include "gaussian_helpers.hpp"

// Pick a point from the distribution exp(-a_i||x||^2) on the chord
template
18 changes: 9 additions & 9 deletions include/random_walks/random_walks.hpp
Original file line number Diff line number Diff line change
@@ -7,14 +7,14 @@
#ifndef RANDOM_WALKS_RANDOM_WALKS_HPP
#define RANDOM_WALKS_RANDOM_WALKS_HPP

#include "random_walks/boundary_cdhr_walk.hpp"
#include "random_walks/boundary_rdhr_walk.hpp"
#include "random_walks/gaussian_ball_walk.hpp"
#include "random_walks/gaussian_cdhr_walk.hpp"
#include "random_walks/gaussian_rdhr_walk.hpp"
#include "random_walks/uniform_ball_walk.hpp"
#include "random_walks/uniform_billiard_walk.hpp"
#include "random_walks/uniform_cdhr_walk.hpp"
#include "random_walks/uniform_rdhr_walk.hpp"
#include "boundary_cdhr_walk.hpp"
#include "boundary_rdhr_walk.hpp"
#include "gaussian_ball_walk.hpp"
#include "gaussian_cdhr_walk.hpp"
#include "gaussian_rdhr_walk.hpp"
#include "uniform_ball_walk.hpp"
#include "uniform_billiard_walk.hpp"
#include "uniform_cdhr_walk.hpp"
#include "uniform_rdhr_walk.hpp"

#endif // RANDOM_WALKS_RANDOM_WALKS_HPP
2 changes: 1 addition & 1 deletion include/random_walks/uniform_ball_walk.hpp
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
#ifndef RANDOM_WALKS_UNIFORM_BALL_WALK_HPP
#define RANDOM_WALKS_UNIFORM_BALL_WALK_HPP

#include "generators/boost_random_number_generator.hpp"
#include "../generators/boost_random_number_generator.hpp"

// Ball walk with uniform target distribution

22 changes: 11 additions & 11 deletions include/random_walks/uniform_billiard_walk.hpp
Original file line number Diff line number Diff line change
@@ -12,17 +12,17 @@

#include <Eigen/Eigen>

#include "convex_bodies/ball.h"
#include "convex_bodies/ballintersectconvex.h"
#include "convex_bodies/hpolytope.h"
#include "convex_bodies/vpolytope.h"
#include "convex_bodies/vpolyintersectvpoly.h"
#include "convex_bodies/zpolytope.h"
#include "convex_bodies/zonoIntersecthpoly.h"
#include "generators/boost_random_number_generator.hpp"
#include "sampling/random_point_generators.hpp"
#include "sampling/sphere.hpp"
#include "volume/sampling_policies.hpp"
#include "../convex_bodies/ball.h"
#include "../convex_bodies/ballintersectconvex.h"
#include "../convex_bodies/hpolytope.h"
#include "../convex_bodies/vpolytope.h"
#include "../convex_bodies/vpolyintersectvpoly.h"
#include "../convex_bodies/zpolytope.h"
#include "../convex_bodies/zonoIntersecthpoly.h"
#include "../generators/boost_random_number_generator.hpp"
#include "../sampling/random_point_generators.hpp"
#include "../sampling/sphere.hpp"
#include "../volume/sampling_policies.hpp"

template <typename GenericPolytope>
struct compute_diameter
16 changes: 8 additions & 8 deletions include/random_walks/uniform_cdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@
#ifndef RANDOM_WALKS_UNIFORM_CDHR_WALK_HPP
#define RANDOM_WALKS_UNIFORM_CDHR_WALK_HPP

#include "convex_bodies/ball.h"
#include "convex_bodies/ballintersectconvex.h"
#include "convex_bodies/hpolytope.h"
#include "convex_bodies/vpolytope.h"
#include "convex_bodies/vpolyintersectvpoly.h"
#include "convex_bodies/zpolytope.h"
#include "convex_bodies/zonoIntersecthpoly.h"
#include "generators/boost_random_number_generator.hpp"
#include "../convex_bodies/ball.h"
#include "../convex_bodies/ballintersectconvex.h"
#include "../convex_bodies/hpolytope.h"
#include "../convex_bodies/vpolytope.h"
#include "../convex_bodies/vpolyintersectvpoly.h"
#include "../convex_bodies/zpolytope.h"
#include "../convex_bodies/zonoIntersecthpoly.h"
#include "../generators/boost_random_number_generator.hpp"

// random directions hit-and-run walk with uniform target distribution
struct CDHRWalk
16 changes: 8 additions & 8 deletions include/random_walks/uniform_rdhr_walk.hpp
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@
#ifndef RANDOM_WALKS_UNIFORM_RDHR_WALK_HPP
#define RANDOM_WALKS_UNIFORM_RDHR_WALK_HPP

#include "convex_bodies/ball.h"
#include "convex_bodies/ballintersectconvex.h"
#include "convex_bodies/hpolytope.h"
#include "convex_bodies/vpolytope.h"
#include "convex_bodies/vpolyintersectvpoly.h"
#include "convex_bodies/zpolytope.h"
#include "convex_bodies/zonoIntersecthpoly.h"
#include "generators/boost_random_number_generator.hpp"
#include "../convex_bodies/ball.h"
#include "../convex_bodies/ballintersectconvex.h"
#include "../convex_bodies/hpolytope.h"
#include "../convex_bodies/vpolytope.h"
#include "../convex_bodies/vpolyintersectvpoly.h"
#include "../convex_bodies/zpolytope.h"
#include "../convex_bodies/zonoIntersecthpoly.h"
#include "../generators/boost_random_number_generator.hpp"

// Random directions hit-and-run walk with uniform target distribution

4 changes: 2 additions & 2 deletions include/volume/rounding.hpp
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@

#include <Eigen/Eigen>
#include "khach.h"
#include "sampling/random_point_generators.hpp"
#include "volume/sampling_policies.hpp"
#include "../sampling/random_point_generators.hpp"
#include "sampling_policies.hpp"

template <
typename WalkTypePolicy,
16 changes: 8 additions & 8 deletions include/volume/volume_cooling_balls.hpp
Original file line number Diff line number Diff line change
@@ -13,14 +13,14 @@
#include <boost/math/distributions/students_t.hpp>
#include <boost/math/special_functions/erf.hpp>

#include "cartesian_geom/cartesian_kernel.h"
#include "convex_bodies/hpolytope.h"
#include "convex_bodies/vpolytope.h"
#include "convex_bodies/zpolytope.h"
#include "convex_bodies/ballintersectconvex.h"
#include "convex_bodies/vpolyintersectvpoly.h"
#include "volume/rounding.hpp"
#include "sampling/random_point_generators.hpp"
#include "../cartesian_geom/cartesian_kernel.h"
#include "../convex_bodies/hpolytope.h"
#include "../convex_bodies/vpolytope.h"
#include "../convex_bodies/zpolytope.h"
#include "../convex_bodies/ballintersectconvex.h"
#include "../convex_bodies/vpolyintersectvpoly.h"
#include "rounding.hpp"
#include "../sampling/random_point_generators.hpp"


////////////////////////////////////
10 changes: 5 additions & 5 deletions include/volume/volume_cooling_gaussians.hpp
Original file line number Diff line number Diff line change
@@ -18,11 +18,11 @@
#include <math.h>
#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 "sampling/random_point_generators.hpp"
#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 "../sampling/random_point_generators.hpp"


/////////////////// Helpers for random walks
4 changes: 2 additions & 2 deletions include/volume/volume_cooling_hpoly.hpp
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@
#ifndef VOLUME_COOLING_HPOLY_HPP
#define VOLUME_COOLING_HPOLY_HPP

#include "volume/volume_cooling_gaussians.hpp"
#include "sampling/random_point_generators.hpp"
#include "volume_cooling_gaussians.hpp"
#include "../sampling/random_point_generators.hpp"


template
24 changes: 12 additions & 12 deletions include/volume/volume_sequence_of_balls.hpp
Original file line number Diff line number Diff line change
@@ -21,18 +21,18 @@
//#include "random/normal_distribution.hpp"
//#include "random/uniform_real_distribution.hpp"

#include "cartesian_geom/cartesian_kernel.h"
#include "generators/boost_random_number_generator.hpp"
#include "convex_bodies/hpolytope.h"
#include "convex_bodies/vpolytope.h"
#include "convex_bodies/zpolytope.h"
#include "convex_bodies/ball.h"
#include "convex_bodies/ballintersectconvex.h"
#include "convex_bodies/zonoIntersecthpoly.h"
#include "convex_bodies/vpolyintersectvpoly.h"
#include "volume/rounding.hpp"
#include "random_walks/uniform_cdhr_walk.hpp"
#include "sampling/random_point_generators.hpp"
#include "../cartesian_geom/cartesian_kernel.h"
#include "../generators/boost_random_number_generator.hpp"
#include "../convex_bodies/hpolytope.h"
#include "../convex_bodies/vpolytope.h"
#include "../convex_bodies/zpolytope.h"
#include "../convex_bodies/ball.h"
#include "../convex_bodies/ballintersectconvex.h"
#include "../convex_bodies/zonoIntersecthpoly.h"
#include "../convex_bodies/vpolyintersectvpoly.h"
#include "rounding.hpp"
#include "../random_walks/uniform_cdhr_walk.hpp"
#include "../sampling/random_point_generators.hpp"


////////////////////////////// Algorithms

0 comments on commit a86be1f

Please sign in to comment.