#include <vector>
#include <algorithm>
#include <functional>
#include <limits>
#include <inttypes.h>
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | itemvector |
class | itemvecCounterPair_less |
class | Dummy |
A class that does nothing. More... | |
Defines | |
#define | DINLINE __attribute__((always_inline)) |
set this to empty if you compiler does not support it | |
#define | NOINLINE __attribute__((noinline)) |
#define | TYPENAME typename |
set this to empty if your compiler does not support (and does not need) typenames | |
Typedefs | |
typedef unsigned int | item_t |
The type of the item. | |
typedef uint32_t | counter_t |
The type of the counter for support counting. | |
typedef std::pair< itemvector, counter_t > | itemvecCounterPair |
Enumerations | |
enum | NEELevel { NEE_Off, NEE_Level1, NEE_Full } |
values of FpGrowth feature NEE More... | |
enum | FirstLevel { FLBuildSingleTree, FLBuildAllL1Trees, FLSimultProject } |
values of FpGrowth feature FirstLevel More... | |
Variables | |
const unsigned int | largest_itemsetsize |
const counter_t | TWO_POW31 = 0x80000000 |
const counter_t | TWO_POW31_1 = TWO_POW31 - 1 |
|
set this to empty if you compiler does not support it
Definition at line 8 of file common.hpp. |
|
Definition at line 11 of file common.hpp. |
|
set this to empty if your compiler does not support (and does not need) typenames
Definition at line 14 of file common.hpp. Referenced by Coder< T_R, D >::nextTransactionBIS(), bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::TreeCopy::reccopytree(), bracz::ClassicFPStructure< INPUT, BUILDTREE, FIRSTLEVEL, TD, SINGLE >::reccopytree(), and bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::SimultProject::simultRecurse(). |
|
The type of the counter for support counting. Counters are represented by non-negative integers. If we know that the transaction file does not contain more than n transactions, we can recomplie the code using unsigned short as type. Definition at line 68 of file common.hpp. |
|
The type of the item. Items are represented by non-negative integers. If we know that no itemcode is larger than , we can recomplie the code using unsigned short as type. Definition at line 32 of file common.hpp. |
|
Definition at line 70 of file common.hpp. |
|
values of FpGrowth feature FirstLevel
Definition at line 95 of file common.hpp. |
|
values of FpGrowth feature NEE
Definition at line 88 of file common.hpp. |
|
Initial value: std::numeric_limits<unsigned int>::max() Definition at line 36 of file common.hpp. Referenced by process_arguments(). |
|
|