Public Member Functions | Public Attributes

NNFloatingPoint Class Reference

Inheritance diagram for NNFloatingPoint:
FloatingPoint::FloatingPoint RealValueGenotype Genotype

List of all members.

Public Member Functions

NNFloatingPointcopy ()
 NNFloatingPoint ()
void registerParameters (StateP state)
bool initialize (StateP state)
void setInput (std::vector< double > inputData)
std::vector< double > calculateOutput ()
uint numberOfLayers ()

Public Attributes

std::vector< uint > npLayer_

Detailed Description

Definition at line 3 of file NNFloatingPoint.h.


Constructor & Destructor Documentation

NNFloatingPoint::NNFloatingPoint (  ) 

Simple constructor.

Definition at line 12 of file NNFloatingPoint.cpp.


Member Function Documentation

vector< double > NNFloatingPoint::calculateOutput (  ) 

Calculates network output value. This function is ment to be called from the evaluate operator.

Returns:
network output values

Definition at line 74 of file NNFloatingPoint.cpp.

NNFloatingPoint * NNFloatingPoint::copy (  )  [virtual]

Simple copy function that gives a pinter to this object.

Returns:
pointer to this object

Reimplemented from FloatingPoint::FloatingPoint.

Definition at line 8 of file NNFloatingPoint.cpp.

bool NNFloatingPoint::initialize ( StateP  state  )  [virtual]

Initializies the genotype.

Reimplemented from FloatingPoint::FloatingPoint.

Definition at line 23 of file NNFloatingPoint.cpp.

uint NNFloatingPoint::numberOfLayers (  ) 

Returns the number of layers.

Definition at line 152 of file NNFloatingPoint.cpp.

void NNFloatingPoint::registerParameters ( StateP  state  )  [virtual]

Registers new parameters.

Reimplemented from FloatingPoint::FloatingPoint.

Definition at line 16 of file NNFloatingPoint.cpp.

void NNFloatingPoint::setInput ( std::vector< double >  inputData  ) 

Sets the input to the network - simmulates input layer.

Definition at line 70 of file NNFloatingPoint.cpp.


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