Node Class Reference

#include <node.h>

Inheritance diagram for Node:

DataContainer Atom List of all members.

Public Member Functions

Node construction functions
 Node ()
 Node (const DataContainer &aDataContainer)
 ~Node ()
Accessor functions
string getLabel ()
void setLabel (string aString)
void setKashimaPS (double aPs)
double getKashimaPS (bool silentError=false)
void setKashimaPQ (double aPq)
double getKashimaPQ (bool silentError=false)
int getRPosition ()
void setRPosition (int aR)
Output functions
string toStringShort ()

Protected Attributes

string label
double pq
bool flagHasPq
double ps
bool flagHasPs
int rPosition

Detailed Description

Author:
Jean-Luc Perret


Constructor & Destructor Documentation

Node::Node  ) 
 

class constructor.

Node::Node const DataContainer aDataContainer  ) 
 

class constructor.

Node::~Node  ) 
 

class destructor.


Member Function Documentation

double Node::getKashimaPQ bool  silentError = false  ) 
 

returns the Stop probability of the atom ( used in the Kashima Kernel ).

double Node::getKashimaPS bool  silentError = false  ) 
 

returns the Start probability of the atom (used in the Kashima Kernel).

string Node::getLabel  )  [inline]
 

returns the Label of the node.

int Node::getRPosition  )  [inline]
 

helper function for the calculation of the Kashima Kernel.

void Node::setKashimaPQ double  aPq  )  [inline]
 

sets the Stop probability of the atom to aPq (used in the Kashima Kernel).

void Node::setKashimaPS double  aPs  )  [inline]
 

sets the Start probability of the atom to aPs (used in the Kashima Kernel).

void Node::setLabel string  aString  ) 
 

sets the Label of the node.

void Node::setRPosition int  aR  )  [inline]
 

helper function for the calculation of the Kashima Kernel.

string Node::toStringShort  ) 
 

gives a short (string) description of the node.

Reimplemented in Atom.


Member Data Documentation

bool Node::flagHasPq [protected]
 

flag indicating wether the stop probability variable is initialized or not.

bool Node::flagHasPs [protected]
 

flag indicating wether the start probability variable is initialized or not.

string Node::label [protected]
 

Label of the node.

double Node::pq [protected]
 

stop probability for random walks (graph kernel).

double Node::ps [protected]
 

start probability for random walks (graph kernel).

int Node::rPosition [protected]
 

helper variable for the calculation of the Kashima Kernel.


The documentation for this class was generated from the following file:
Generated on Wed Nov 28 12:12:52 2007 for ChemCpp by  doxygen 1.4.6