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

BOSS_Node Class Reference
[BOSS UnitSelection Module]

Language dependent graph node class for the unit selection graph path finding algorithm. More...

#include <boss_node.h>

Inheritance diagram for BOSS_Node:

BOSS_NodeDE List of all members.

Public Types

enum  Node_Type {
  UNKNOWN = 0, WORD = 1, MORPHEME = 2, SYLLABLE = 3,
  PHONE = 4, HALFPHONE = 5, INITIAL = 6, FINAL = 7
}

Public Member Functions

 BOSS_Node (BOSS::Config &cl)
 BOSS_Node (const BOSS_Node &b)
 BOSS_Node (BOSS::Config &cl, const Node_Type &t)
 BOSS_Node (BOSS::Config &cl, const xercesc::DOMNode *node, const Node_Type &t, const unsigned &p)
virtual ~BOSS_Node ()
BOSS_Nodeoperator= (const BOSS_Node &b)
string getResult (const string &q) const
DOM_UserDatagetUserData () const
Node_Type getNodeType () const
bool realNode () const
bool virtualNode () const
double getCost () const
void setCost (double c)
void setPredecessor (BOSS_Node *predecessor)
BOSS_NodegetPredecessor () const
unsigned getPosition () const

Protected Member Functions

vector< float > makeVector (string tmp) const

Protected Attributes

BOSS::Configcl
const xercesc::DOMNode * unit_node
DOM_UserDatauser_data
Node_Type type
unsigned pos
double cost
BOSS_Nodepred
unsigned Num
string tkey
string treal
string cleft
string cright
string pmode
int pint
unsigned first
unsigned last
unsigned stress
float lf0
float rf0
float avgf0
float rms
dsp::vector< float > lmel
dsp::vector< float > rmel

Friends

ostream & operator<< (ostream &out, const BOSS_Node &n)

Detailed Description

Language dependent graph node class for the unit selection graph path finding algorithm.


Member Enumeration Documentation

enum BOSS_Node::Node_Type
 

Enumeration values:
UNKNOWN 
WORD 
MORPHEME 
SYLLABLE 
PHONE 
HALFPHONE 
INITIAL 
FINAL 


Member Function Documentation

double BOSS_Node::getCost  )  const [inline]
 

Node_Type BOSS_Node::getNodeType  )  const [inline]
 

Reimplemented in BOSS_NodeDE.

unsigned BOSS_Node::getPosition  )  const [inline]
 

BOSS_Node* BOSS_Node::getPredecessor  )  const [inline]
 

string BOSS_Node::getResult const string &  q  )  const [inline]
 

Reimplemented in BOSS_NodeDE.

DOM_UserData* BOSS_Node::getUserData  )  const [inline]
 

Reimplemented in BOSS_NodeDE.

vector< float > BOSS_Node::makeVector string  tmp  )  const [protected]
 

bool BOSS_Node::realNode  )  const [inline]
 

Reimplemented in BOSS_NodeDE.

void BOSS_Node::setCost double  c  )  [inline]
 

void BOSS_Node::setPredecessor BOSS_Node predecessor  )  [inline]
 

bool BOSS_Node::virtualNode  )  const [inline]
 

Reimplemented in BOSS_NodeDE.


Friends And Related Function Documentation

ostream& operator<< ostream &  out,
const BOSS_Node n
[friend]
 

Reimplemented in BOSS_NodeDE.


Member Data Documentation

float BOSS_Node::avgf0 [protected]
 

BOSS::Config& BOSS_Node::cl [protected]
 

string BOSS_Node::cleft [protected]
 

double BOSS_Node::cost [protected]
 

string BOSS_Node::cright [protected]
 

unsigned BOSS_Node::first [protected]
 

unsigned BOSS_Node::last [protected]
 

float BOSS_Node::lf0 [protected]
 

dsp::vector< float > BOSS_Node::lmel [protected]
 

unsigned BOSS_Node::Num [protected]
 

int BOSS_Node::pint [protected]
 

string BOSS_Node::pmode [protected]
 

unsigned BOSS_Node::pos [protected]
 

BOSS_Node* BOSS_Node::pred [protected]
 

float BOSS_Node::rf0 [protected]
 

dsp::vector< float > BOSS_Node::rmel [protected]
 

float BOSS_Node::rms [protected]
 

unsigned BOSS_Node::stress [protected]
 

string BOSS_Node::tkey [protected]
 

string BOSS_Node::treal [protected]
 

Node_Type BOSS_Node::type [protected]
 

const xercesc::DOMNode* BOSS_Node::unit_node [protected]
 

DOM_UserData* BOSS_Node::user_data [protected]
 


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