Public Member Functions | Public Attributes | List of all members
ibis::bin::granule Struct Reference

A data structure to assist the mapping of values to lower precisions. More...

#include <ibin.h>

Public Member Functions

 granule ()
 !< Values greater than the target. More...
 
 ~granule ()
 Destructor.
 

Public Attributes

ibis::bitvectorloce
 
ibis::bitvectorlocm
 !< Values equal to the target.
 
ibis::bitvectorlocp
 !< Values less than the target.
 
double maxm
 
double maxp
 
double minm
 
double minp
 

Detailed Description

A data structure to assist the mapping of values to lower precisions.

Any integral or floating-point value may be mapped to a lower precision floating-point value. This would produce a more granular representation of the values. The low precision floating-point value is called a target in this description. To facilitate this type of dynamic binning, we device this simple data structure to record the position of all records mapped to a particular target value. For all values map to a target, it further splits them according to whether the values actuallly are larger than the target, equal to the target or smaller than the target. The locations of the values less than, greater than and equal to the target is stored in locm, locp and loce. The variables minm and maxm store the actual minimum and maximum value among those that are smaller than the target. The variables minp and maxp store the actual minimum and maximum value among those that are larger than the target value.

Constructor & Destructor Documentation

ibis::bin::granule::granule ( )
inline

!< Values greater than the target.

Constructor. User has to explicitly allocated the bitvectors.


The documentation for this struct was generated from the following file:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive