Public Member Functions | Private Member Functions | Private Attributes
ApproxMVBB::DiameterEstimator Class Reference

#include <EstimateDiameter.hpp>

List of all members.

Public Member Functions

 DiameterEstimator (std::size_t seed=RandomGenerators::defaultSeed)
double estimateDiameter (Diameter::TypeSegment *theDiam, double const **theList, const int first, const int last, const int dim, double epsilon)

Private Member Functions

void _DoNotTryToGetTightBounds ()
void _DoNotTryToReduceQ ()
void _DoTryToGetTightBounds ()
void _DoTryToReduceQ ()
int _GetQscan ()
int _GetReductionModeInIterative ()
int _GetReductionModeOfDbleNorm ()
int _GetReductionModeOfDiameter ()
int _GetTightBounds ()
int _GetTryToReduceQ ()
int _GetVerboseWhenReducing ()
void _NoVerboseWhenReducing ()
void _SetQscanToBackward ()
void _SetQscanToForward ()
void _SetReductionModeInIterative (int m)
void _SetReductionModeOfDbleNorm (int m)
void _SetReductionModeOfDiameter (int m)
void _VerboseWhenReducing ()
double estimateDiameterInOneList (Diameter::TypeSegment *theDiam, double const **theList, const int first, const int last, const int dim, double _epsilon_)
int getRandomInt (unsigned int min, unsigned int max)

Private Attributes

int _Q_scan_ = 0
int _reduction_mode_in_iterative_ = 1
int _reduction_mode_of_dbleNorm_ = 1
int _reduction_mode_of_diameter_ = 1
int _tight_bounds_ = 0
int _try_to_reduce_Q_ = 1
int _verbose_when_reducing_ = 0
RandomGenerators::DefaultRandomGen m_gen
 Random number generator.

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 26 of file EstimateDiameter.hpp.


Member Function Documentation

Definition at line 129 of file EstimateDiameter.hpp.

Definition at line 117 of file EstimateDiameter.hpp.

Definition at line 128 of file EstimateDiameter.hpp.

Definition at line 116 of file EstimateDiameter.hpp.

int ApproxMVBB::DiameterEstimator::_GetQscan ( ) [inline, private]

Definition at line 124 of file EstimateDiameter.hpp.

Definition at line 77 of file EstimateDiameter.hpp.

Definition at line 110 of file EstimateDiameter.hpp.

Definition at line 93 of file EstimateDiameter.hpp.

Definition at line 130 of file EstimateDiameter.hpp.

Definition at line 118 of file EstimateDiameter.hpp.

Definition at line 60 of file EstimateDiameter.hpp.

Definition at line 59 of file EstimateDiameter.hpp.

Definition at line 123 of file EstimateDiameter.hpp.

Definition at line 122 of file EstimateDiameter.hpp.

Definition at line 65 of file EstimateDiameter.hpp.

Definition at line 98 of file EstimateDiameter.hpp.

Definition at line 81 of file EstimateDiameter.hpp.

Definition at line 58 of file EstimateDiameter.hpp.

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:
theDiamreturns the diameter info
theListinput point cloud (look at example how to call this function)
firstFirst index into the point cloud
dimdimension of the points
epsilonthe 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]

Definition at line 43 of file EstimateDiameter.cpp.

int ApproxMVBB::DiameterEstimator::getRandomInt ( unsigned int  min,
unsigned int  max 
) [inline, private]

TODO: ugly cast, I dont want to change the estimater code

Definition at line 136 of file EstimateDiameter.hpp.


Member Data Documentation

Definition at line 121 of file EstimateDiameter.hpp.

reduction in the iterative search of the double normal

Definition at line 64 of file EstimateDiameter.hpp.

Definition at line 97 of file EstimateDiameter.hpp.

'reduction' of diameter

Definition at line 80 of file EstimateDiameter.hpp.

Definition at line 127 of file EstimateDiameter.hpp.

Definition at line 114 of file EstimateDiameter.hpp.

some settings from the original code ================================ verbose when reducing

Definition at line 57 of file EstimateDiameter.hpp.

RandomGenerators::DefaultRandomGen ApproxMVBB::DiameterEstimator::m_gen [private]

Random number generator.

=====================================================================

Definition at line 133 of file EstimateDiameter.hpp.


The documentation for this class was generated from the following files:


asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:50