|
Biorithm
1.1
|
This class takes an input stream of a matrix data file and analyzes the the independence of the columns. More...
#include <MafiaMiner.h>
Public Member Functions | |
| MafiaMiner (float balance=0.5, float support=1.0, unsigned int buffer_size=1000) | |
| MafiaMiner (const MafiaMiner &src) | |
| virtual | ~MafiaMiner () |
| virtual MafiaMiner & | operator= (const MafiaMiner &rhs) |
Protected Member Functions | |
| virtual void | analyzeHelper () |
| virtual void | createDerivatives (const ItemSet *is, vector< ItemSet * > &sets) |
| virtual void | analyzeItemSets (vector< ItemSet * > &sets, unsigned int level) |
| virtual void | analyzeItemSet (ItemSet *is, const vector< unsigned int > &tallies, unsigned int height, vector< ItemSet * > &dsets) |
| virtual void | genstatus (const ItemSet *is) |
Protected Attributes | |
| float | balance |
| unsigned int | bpreq |
| unsigned int | bpreq2 |
| float | support |
| ItemSetMap< bool > | map |
| unsigned int | buffer_size |
| double | denominator |
This class takes an input stream of a matrix data file and analyzes the the independence of the columns.
MafiaMiner.h Header for the Mafia Levelwise Truth Miner
| MafiaMiner::MafiaMiner | ( | float | balance = 0.5, |
| float | support = 1.0, |
||
| unsigned int | buffer_size = 1000 |
||
| ) |
MafiaMiner.cpp
| MafiaMiner::MafiaMiner | ( | const MafiaMiner & | src | ) |
The copy constructor
------------------------------- Parameters ------------------------------- const MafiaMiner& src The source Miner
| MafiaMiner::~MafiaMiner | ( | ) | [virtual] |
Destructor
| void MafiaMiner::analyzeHelper | ( | ) | [protected, virtual] |
Analyzes the matrix, one level at a time
--------------------------------- Return --------------------------------- An error message
Implements Miner.
| MafiaMiner & MafiaMiner::operator= | ( | const MafiaMiner & | rhs | ) | [virtual] |
The = operator
------------------------------- Parameters ------------------------------- const MafiaMiner& rhs The right hand side
--------------------------------- Return --------------------------------- A reference to the Miner
1.7.6.1