Biorithm  1.1
Public Member Functions | Protected Member Functions | Protected Attributes
StandardMiner Class Reference

This class takes an input stream of a matrix data file and analyzes the the independence of the columns It uses the lattice class to only count the "all positive" bitpatterns. More...

#include <StandardMiner.h>

Inheritance diagram for StandardMiner:
LatticeMiner Miner Monitorable

List of all members.

Public Member Functions

 StandardMiner (float balance=0.5, float support=1.0, unsigned int buffer_size=1000, bool positive=false, BinaryMatrix *tm=NULL)
 StandardMiner (const StandardMiner &src)
virtual ~StandardMiner ()
virtual StandardMineroperator= (const StandardMiner &rhs)

Protected Member Functions

virtual void analyzeHelper ()
virtual bool analyzeLevel (unsigned int level)
virtual void handlePrinting (unsigned int level)

Protected Attributes

BSEvaluatorbse

Detailed Description

This class takes an input stream of a matrix data file and analyzes the the independence of the columns It uses the lattice class to only count the "all positive" bitpatterns.

Header for the Pos Levelwise Truth Miner

Author:
Conley Owens ibcliffo@vt.edu
Date:
2007-08-07

Constructor & Destructor Documentation

StandardMiner::StandardMiner ( float  balance = 0.5,
float  support = 1.0,
unsigned int  buffer_size = 1000,
bool  positive = false,
BinaryMatrix bm = NULL 
)

StandardMiner.cpp The Miner that uses the lattice data structure this lets it only count the positive itemsets

Author:
Conley Owens ibcliffo@vt.edu
Date:
2007-11-05 The constructor

------------------------------- Parameters ------------------------------- float balance The minimum fraction of rows that must comprise a bitpattern float support The fraction of bitpatterns that have to succeed at each level unsigned int buffer_size the amount of combinations allowed to sit in the queue at once

The copy constructor

------------------------------- Parameters ------------------------------- const StandardMiner& src The source Miner

Destructor


Member Function Documentation

void StandardMiner::analyzeHelper ( ) [protected, virtual]

Analyzes the matrix, one level at a time

--------------------------------- Return --------------------------------- An error message

Implements Miner.

bool StandardMiner::analyzeLevel ( unsigned int  level) [protected, virtual]

Analyzes a single level

------------------------------- Parameters ------------------------------- unsigned int level The current level

--------------------------------- Return --------------------------------- Whether or not we should continue (whether or not any matches were found)

void StandardMiner::handlePrinting ( unsigned int  prevlevel) [protected, virtual]

Handle printing

------------------------------- Parameters ------------------------------- unsigned int prevlevel The previous level

StandardMiner & StandardMiner::operator= ( const StandardMiner rhs) [virtual]

The = operator

------------------------------- Parameters ------------------------------- const StandardMiner& rhs The right hand side

--------------------------------- Return --------------------------------- A reference to the Miner


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Friends