Public Member Functions | Public Attributes
ibis::bin::granule Struct Reference

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

#include <ibin.h>

List of all members.

Public Member Functions

 granule ()
 Construct. User has to explicitly allocated the bitvectors.
 ~granule ()
 Destructor.

Public Attributes

ibis::bitvectorloce
 Values equal to the target.
ibis::bitvectorlocm
 Values less than the target.
ibis::bitvectorlocp
 Values greater 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.


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