|
Doxygen
1.9.1
|
Holds anisotropic weights in a usable format. More...
#include <tsgIndexManipulator.hpp>
Public Member Functions | |
| ProperWeights (size_t num_dimensions, TypeDepth type, std::vector< int > const &weights) | |
| Interpret the single vector and form the proper weights, e.g., use defaults, scale hyperbolic weights, split type_ipcurved into linear and curved, etc. | |
| bool | provenLower () const |
| Return true if the combination of weights and contour is guaranteed to give a lower-complete set. | |
| int | minLinear () const |
| Return the smallest linear weight, used for normalization of the offset. | |
| size_t | getNumDimensions () const |
| Return the number of dimensions. | |
Public Attributes | |
| TypeDepth | contour |
| Always equal to type_level, type_curved or type_hyperbolic, indicates the general contour and how the weights should be used. | |
| std::vector< int > | linear |
| The linear components of the weights for type_level and type_curved contours; a vector of ones for type_hyperbolic. | |
| std::vector< double > | curved |
| The curved components of the weights type_curved contours; a scaled vector of exponents for type_hyperbolic; empty for type_level. | |
Holds anisotropic weights in a usable format.
The external API accepts weigths as a single vector of integers or even an empty vector, the ProperWeights holds weights that are always defined in a form suitable for computing.