Node Class Reference

#include <Node.h>

Inheritance diagram for Node:
BooleanNode DelayNode InputNode OutputNode SustainNode

List of all members.

Public Member Functions

 Node ()
virtual ~Node ()
 virtual destructor for node
NodesetValue (bool v)
 sets current and previous to v and returns *this
bool getValue ()
 returns previous
void setMut (string m)
void setName (string m)
void setMutRate (int i)
virtual bool evaluate (NodeList &nl, int t)=0
virtual string getType (void)=0
virtual void reset (void)=0

Protected Attributes

bool init
string name
int mutRate
int bMutRate
string mutation
bool current
bool previous
int timeT

Detailed Description

DESCRIPTION

The Node is an abstraction of the different types of other nodes


Constructor & Destructor Documentation

Node::Node (  ) 

Node constructor that initializes variables

virtual Node::~Node (  )  [inline, virtual]

virtual destructor for node


Member Function Documentation

virtual bool Node::evaluate ( NodeList nl,
int  t 
) [pure virtual]
virtual string Node::getType ( void   )  [pure virtual]
bool Node::getValue (  )  [inline]

returns previous

virtual void Node::reset ( void   )  [pure virtual]
void Node::setMut ( string  m  ) 

sets the mutation to string m

void Node::setMutRate ( int  i  )  [inline]
void Node::setName ( string  m  )  [inline]
Node& Node::setValue ( bool  v  )  [inline]

sets current and previous to v and returns *this


Member Data Documentation

int Node::bMutRate [protected]
bool Node::current [protected]
bool Node::init [protected]
string Node::mutation [protected]
int Node::mutRate [protected]
string Node::name [protected]
bool Node::previous [protected]
int Node::timeT [protected]

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

Generated on Fri May 7 00:40:42 2010 for ChemChains by  doxygen 1.6.1