RuleSet Class Reference

#include <RuleSet.h>

Collaboration diagram for RuleSet:
[legend]

List of all members.

Public Member Functions

 RuleSet ()
 RuleSet (Data *train, Data *test, RULE_TYPE type)
 ~RuleSet ()
void create ()
void score ()
void print (std::ostream &stream)


Detailed Description

This class represents a collection of Rules that are meant to cover an entire data set.

Constructor & Destructor Documentation

RuleSet::RuleSet (  ) 

Empty Constructor.

RuleSet::RuleSet ( Data train,
Data test,
RULE_TYPE  type 
)

Creates a basic RuleSet. train and test MUST be discrete already.

Parameters:
train The data set this RuleSet will train on.
test The data set this RuleSet will evaulate on. Passing NULL will result in the RuleSet being evaulated on the test data.
type The type of Rules this RuleSet contains.

RuleSet::~RuleSet (  ) 

Destructor.


Member Function Documentation

void RuleSet::create (  ) 

Creates a series of Rules that attempt to best cover the Data.

void RuleSet::score (  ) 

Scores the RuleSet.

void RuleSet::print ( std::ostream &  stream  ) 

Prints the RuleSet.

Parameters:
stream The stream to print to.


The documentation for this class was generated from the following files:

Generated on Wed Feb 20 13:52:40 2008 for Which by  doxygen 1.5.5