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

This class is the partition distance filter that finds similar truth tables. More...

#include <PDistFilter.h>

Inheritance diagram for PDistFilter:
Filter

List of all members.

Public Member Functions

 PDistFilter (double maxpdist=0.0, bool print=true)
 PDistFilter (const PDistFilter &src)
virtual PDistFilteroperator= (const PDistFilter &rhs)
virtual bool filter (const ItemSet &is, TruthMatrix &tm, string &msg)

Protected Member Functions

virtual void evaluateall ()
virtual bool ismatch (const vector< vector< unsigned int > > &indecies1, const vector< vector< unsigned int > > &indecies2, double &distance) const

Protected Attributes

bool print
double maxpdist
TruthMatrixtm
vector< ItemSetsets

Detailed Description

This class is the partition distance filter that finds similar truth tables.

PDistFilter.h The partition distance filter

Author:
Conley Owens ibcliffo@vt.edu
Date:
2007-09-13

Constructor & Destructor Documentation

PDistFilter::PDistFilter ( double  maxpdist = 0.0,
bool  print = true 
)

PDistFilter.cpp The chisq filter

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

Member Function Documentation

bool PDistFilter::filter ( const ItemSet is,
TruthMatrix tm,
string &  msg 
) [virtual]

This method finds if the tt has a similar tt

------------------------------- Parameters ------------------------------- const ItemSet& is The truth table to examine TruthMatrix& tm The matrix where the truth table came from string& msg We can alter this to add a message to the filter, IE: what tt it is similar to

--------------------------------- Return --------------------------------- True if it passed, false if not

Implements Filter.


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