Biorithm
1.1
|
This class is the partition distance filter that finds similar truth tables. More...
#include <FuncEquivFilter.h>
Public Member Functions | |
FuncEquivFilter (const string &obofile, const string &fafile) | |
FuncEquivFilter (const FuncEquivFilter &src) | |
virtual FuncEquivFilter & | operator= (const FuncEquivFilter &rhs) |
virtual bool | filter (const ItemSet &is, TruthMatrix &tm, string &msg) |
Protected Member Functions | |
bool | setupData () |
Protected Attributes | |
string | obofile |
string | fafile |
bool | setdata |
bool | problem |
GeneOntology | go |
MyAnnotations | fa |
string | rowSetFileName |
ofstream | rsstr |
string | feFileName |
ofstream | festr |
This class is the partition distance filter that finds similar truth tables.
FuncEquivFilter.h The partition distance filter
FuncEquivFilter::FuncEquivFilter | ( | const string & | obofile, |
const string & | fafile | ||
) |
FuncEquivFilter.cpp The simple graph filter
bool FuncEquivFilter::filter | ( | const ItemSet & | is, |
TruthMatrix & | tm, | ||
string & | msg | ||
) | [virtual] |
This method weights the tt and adds it to the graph
------------------------------- 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.