Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mlOutput Class Reference

#include <example.h>

Inheritance diagram for mlOutput:

Inheritance graph
[legend]
Collaboration diagram for mlOutput:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mlOutput ()
 mlOutput (string)
 ~mlOutput ()
void set_label (int l, bool b)
bool belongs_to (int l) const
int sign (int l) const
void set_weight (int l, double w)
double weight (int l) const
void set_prediction (int l, double pr)
double prediction (int l)

Static Public Member Functions

static void set_separator (char)
static void set_nlabels (int)
static int nlabels ()

Static Protected Attributes

static int _nlabels

Private Member Functions

void parse_string (string)

Private Attributes

labelml

Static Private Attributes

static char _separator

Classes

struct  label

Constructor & Destructor Documentation

mlOutput::mlOutput  ) 
 

mlOutput::mlOutput string   ) 
 

mlOutput::~mlOutput  ) 
 


Member Function Documentation

bool mlOutput::belongs_to int  l  )  const [inline]
 

static int mlOutput::nlabels  )  [static]
 

void mlOutput::parse_string string   )  [private]
 

double mlOutput::prediction int  l  )  [inline]
 

void mlOutput::set_label int  l,
bool  b
[inline]
 

static void mlOutput::set_nlabels int   )  [static]
 

void mlOutput::set_prediction int  l,
double  pr
[inline]
 

static void mlOutput::set_separator char   )  [static]
 

void mlOutput::set_weight int  l,
double  w
[inline]
 

int mlOutput::sign int  l  )  const [inline]
 

double mlOutput::weight int  l  )  const [inline]
 


Member Data Documentation

int mlOutput::_nlabels [static, protected]
 

char mlOutput::_separator [static, private]
 

label* mlOutput::ml [private]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 26 12:58:21 2006 for FreeLing by  doxygen 1.4.4