#include <HMC_polytope_sampler.hpp>
◆ T_HMC_polytope_sampler()
T_HMC_polytope_sampler |
( |
std::string |
file_A, |
|
|
std::string |
file_b, |
|
|
double |
sigma, |
|
|
int |
max_reflections_, |
|
|
double |
dist_, |
|
|
std::string |
starting_pt_file |
|
) |
| |
|
inline |
◆ get_current_ith_coord()
double get_current_ith_coord |
( |
unsigned |
i | ) |
|
|
inline |
◆ get_dimension()
unsigned int get_dimension |
( |
| ) |
const |
|
inline |
◆ record_current()
◆ sample_u_current()
void sample_u_current |
( |
| ) |
|
|
inline |
◆ save_samples()
void save_samples |
( |
std::string |
ofname | ) |
const |
|
inline |
◆ step()
◆ dim
◆ dist
◆ max_reflections
double max_reflections = 100 |
|
protected |
◆ nbr_hyperplanes
unsigned int nbr_hyperplanes = 0 |
|
protected |
◆ rng
std::default_random_engine rng |
|
protected |
◆ samples
std::vector< std::vector<double> > samples |
|
protected |
◆ u_current
std::vector<double> u_current |
|
protected |
◆ u_proposed
std::vector<double> u_proposed |
|
protected |
◆ x_current
std::vector<double> x_current |
|
protected |
◆ x_proposed
std::vector<double> x_proposed |
|
protected |