Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BOSS::Phimbl Class Reference

#include <phimbl.h>

List of all members.

Public Member Functions

 Phimbl ()
 ~Phimbl ()
bool Learn (const string &filename)
bool Write (const string &filename)
bool Classify (const BOSS::t_SVector &str, string &res, const t_Data &Data) const
bool operator() (string &filename)
bool LoadTree (const char *filename, t_Data &Data)
void DeleteData (t_Data &Data)

Public Attributes

vector< int > permutation

Protected Member Functions

int find_str (string &str, vector< t_classes > &data)
int find_str (string &str, vector< t_features > &data)
void ReduceTree (t_Node *node)
void DeleteNode (t_Node *node)
void SaveTree (t_Node *node, fstream &out)
bool Load (string filename)
void Calculate_Permutation ()
void Bulid_Tree (string filename)
void ClassCount (t_Node *node)
bool Save (string outfile)
void Print_Permutation ()
void AddChild (t_Node *parent, string &str, int pos, t_Data &Data)

Protected Attributes

vector< t_classesclasses
vector< vector< t_features > > features
vector< t_featuresallfeatures
int feature_count
int line_count
string seperator
t_Nodetree
t_Data Data


Constructor & Destructor Documentation

BOSS::Phimbl::Phimbl  ) 
 

Author:
Philip Gross

BOSS::Phimbl::~Phimbl  ) 
 


Member Function Documentation

void BOSS::Phimbl::AddChild t_Node parent,
string &  str,
int  pos,
t_Data Data
[protected]
 

void BOSS::Phimbl::Bulid_Tree string  filename  )  [protected]
 

void BOSS::Phimbl::Calculate_Permutation  )  [protected]
 

void BOSS::Phimbl::ClassCount t_Node node  )  [protected]
 

bool BOSS::Phimbl::Classify const BOSS::t_SVector str,
string &  res,
const t_Data Data
const
 

void BOSS::Phimbl::DeleteData t_Data Data  ) 
 

void BOSS::Phimbl::DeleteNode t_Node node  )  [protected]
 

int BOSS::Phimbl::find_str string &  str,
vector< t_features > &  data
[protected]
 

int BOSS::Phimbl::find_str string &  str,
vector< t_classes > &  data
[protected]
 

bool BOSS::Phimbl::Learn const string &  filename  ) 
 

bool BOSS::Phimbl::Load string  filename  )  [protected]
 

bool BOSS::Phimbl::LoadTree const char *  filename,
t_Data Data
 

bool BOSS::Phimbl::operator() string &  filename  ) 
 

void BOSS::Phimbl::Print_Permutation  )  [protected]
 

void BOSS::Phimbl::ReduceTree t_Node node  )  [protected]
 

bool BOSS::Phimbl::Save string  outfile  )  [protected]
 

void BOSS::Phimbl::SaveTree t_Node node,
fstream &  out
[protected]
 

bool BOSS::Phimbl::Write const string &  filename  ) 
 


Member Data Documentation

vector<t_features> BOSS::Phimbl::allfeatures [protected]
 

vector<t_classes> BOSS::Phimbl::classes [protected]
 

t_Data BOSS::Phimbl::Data [protected]
 

int BOSS::Phimbl::feature_count [protected]
 

vector<vector <t_features> > BOSS::Phimbl::features [protected]
 

int BOSS::Phimbl::line_count [protected]
 

vector<int> BOSS::Phimbl::permutation
 

string BOSS::Phimbl::seperator [protected]
 

t_Node* BOSS::Phimbl::tree [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:14:42 2005 for BOSS by doxygen 1.3.6