Biorithm
1.1
|
This class is the partition distance filter that finds similar truth tables. More...
#include <SGraphFilter.h>
Public Member Functions | |
SGraphFilter (const SGraphFilter &src) | |
virtual SGraphFilter & | operator= (const SGraphFilter &rhs) |
virtual bool | filter (const ItemSet &is, TruthMatrix &tm, string &msg) |
Protected Attributes | |
MyGraph | graph |
This class is the partition distance filter that finds similar truth tables.
SGraphFilter.h The partition distance filter
bool SGraphFilter::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.