#include <EstimateDiameter.hpp>
Diameter Estimator class If you need a longer period (currently 2^128-1) of the RandomGenerator use the RandomGenerators::XorShift1024Star
Definition at line 23 of file EstimateDiameter.hpp.
void ApproxMVBB::DiameterEstimator::_DoNotTryToGetTightBounds |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_DoNotTryToReduceQ |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_DoTryToGetTightBounds |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_DoTryToReduceQ |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetQscan |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetReductionModeInIterative |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetReductionModeOfDbleNorm |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetReductionModeOfDiameter |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetTightBounds |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetTryToReduceQ |
( |
| ) |
|
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_GetVerboseWhenReducing |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_NoVerboseWhenReducing |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_SetQscanToBackward |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_SetQscanToForward |
( |
| ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_SetReductionModeInIterative |
( |
int |
m | ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_SetReductionModeOfDbleNorm |
( |
int |
m | ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_SetReductionModeOfDiameter |
( |
int |
m | ) |
|
|
inlineprivate |
void ApproxMVBB::DiameterEstimator::_VerboseWhenReducing |
( |
| ) |
|
|
inlineprivate |
double ApproxMVBB::DiameterEstimator::estimateDiameter |
( |
Diameter::TypeSegment * |
theDiam, |
|
|
double const ** |
theList, |
|
|
const int |
first, |
|
|
const int |
last, |
|
|
const int |
dim, |
|
|
double |
epsilon |
|
) |
| |
Raw function to estimate the diameter of a point cloud
- Parameters
-
theDiam | returns the diameter info |
theList | input point cloud (look at example how to call this function) |
first | First index into the point cloud |
dim | dimension of the points |
epsilon | the accuracy of the diameter estimation such that [diam_min, diam_max] <= epsilon, and [diam_min, diam_max] contains the true diameter |
Definition at line 27 of file EstimateDiameter.cpp.
double ApproxMVBB::DiameterEstimator::estimateDiameterInOneList |
( |
Diameter::TypeSegment * |
theDiam, |
|
|
double const ** |
theList, |
|
|
const int |
first, |
|
|
const int |
last, |
|
|
const int |
dim, |
|
|
double |
_epsilon_ |
|
) |
| |
|
private |
int ApproxMVBB::DiameterEstimator::getRandomInt |
( |
unsigned int |
min, |
|
|
unsigned int |
max |
|
) |
| |
|
inlineprivate |
int ApproxMVBB::DiameterEstimator::_Q_scan_ = 0 |
|
private |
int ApproxMVBB::DiameterEstimator::_reduction_mode_in_iterative_ = 1 |
|
private |
int ApproxMVBB::DiameterEstimator::_reduction_mode_of_dbleNorm_ = 1 |
|
private |
int ApproxMVBB::DiameterEstimator::_reduction_mode_of_diameter_ = 1 |
|
private |
int ApproxMVBB::DiameterEstimator::_tight_bounds_ = 0 |
|
private |
int ApproxMVBB::DiameterEstimator::_try_to_reduce_Q_ = 1 |
|
private |
int ApproxMVBB::DiameterEstimator::_verbose_when_reducing_ = 0 |
|
private |
some settings from the original code ================================ verbose when reducing
Definition at line 57 of file EstimateDiameter.hpp.
Random number generator.
=====================================================================
Definition at line 133 of file EstimateDiameter.hpp.
The documentation for this class was generated from the following files: