PARTONS/NumA++  
Numerical Analysis C++ routines
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
NumA::ScalingCell Class Reference
Inheritance diagram for NumA::ScalingCell:
NumA::NeuralNetworkCell

Public Member Functions

 ScalingCell ()
 
 ScalingCell (ScalingFunctionType::Type scalingFunctionType, ScalingModeType::Type mode)
 
virtual ~ScalingCell ()
 
virtual ScalingCellclone () const
 
virtual std::string toString () const
 
virtual void evaluate ()
 
virtual double evaluateDerivativeBackward (NeuralNetworkNeuron *const neuron) const
 
virtual void checkConsistency () const
 
ScalingModeType::Type getScalingModeType () const
 
ScalingFunctionType::Type getScalingFunctionType () const
 
const std::pair< double, double > & getScalingParameters () const
 
void setScalingParameters (const std::pair< double, double > &input)
 
void setScalingParameters (const std::vector< double > &input)
 
- Public Member Functions inherited from NumA::NeuralNetworkCell
 NeuralNetworkCell ()
 
 NeuralNetworkCell (const std::string &name, NeuralNetworkCellType::Type type)
 
virtual ~NeuralNetworkCell ()
 
NeuralNetworkCellType::Type getType () const
 
const std::vector< NeuralNetworkNeuron * > & getNeuronsIn () const
 
void setNeuronsIn (const std::vector< NeuralNetworkNeuron * > &neurons)
 
void addNeuronIn (NeuralNetworkNeuron *const neuron)
 
const std::vector< NeuralNetworkNeuron * > & getNeuronsOut () const
 
void setNeuronsOut (const std::vector< NeuralNetworkNeuron * > &neurons)
 
void addNeuronOut (NeuralNetworkNeuron *const neuron)
 
double getOutput () const
 
void setOutput (double output)
 
bool checkProperty (NeuralNetworkCellPropertyType::Type property) const
 

Protected Member Functions

 ScalingCell (const ScalingCell &other)
 
- Protected Member Functions inherited from NumA::NeuralNetworkCell
 NeuralNetworkCell (const NeuralNetworkCell &other)
 

Private Attributes

ScalingModeType::Type m_scalingModeType
 
ScalingFunctionType::Type m_scalingFunctionType
 
ScalingFunctionm_pScalingFunction
 
std::pair< double, double > m_scalingParameters
 

Additional Inherited Members

- Protected Attributes inherited from NumA::NeuralNetworkCell
double m_output
 
std::vector< NeuralNetworkNeuron * > m_neuronsIn
 
std::vector< NeuralNetworkNeuron * > m_neuronsOut
 
std::vector< NeuralNetworkCellPropertyType::Typem_properties
 

Constructor & Destructor Documentation

◆ ScalingCell() [1/3]

NumA::ScalingCell::ScalingCell ( )

◆ ScalingCell() [2/3]

NumA::ScalingCell::ScalingCell ( ScalingFunctionType::Type  scalingFunctionType,
ScalingModeType::Type  mode 
)

◆ ~ScalingCell()

NumA::ScalingCell::~ScalingCell ( )
virtual

◆ ScalingCell() [3/3]

NumA::ScalingCell::ScalingCell ( const ScalingCell other)
protected

Member Function Documentation

◆ checkConsistency()

void NumA::ScalingCell::checkConsistency ( ) const
virtual

Reimplemented from NumA::NeuralNetworkCell.

◆ clone()

ScalingCell * NumA::ScalingCell::clone ( ) const
virtual

Reimplemented from NumA::NeuralNetworkCell.

◆ evaluate()

void NumA::ScalingCell::evaluate ( )
virtual

Reimplemented from NumA::NeuralNetworkCell.

◆ evaluateDerivativeBackward()

double NumA::ScalingCell::evaluateDerivativeBackward ( NeuralNetworkNeuron *const  neuron) const
virtual

Reimplemented from NumA::NeuralNetworkCell.

◆ getScalingFunctionType()

ScalingFunctionType::Type NumA::ScalingCell::getScalingFunctionType ( ) const

◆ getScalingModeType()

ScalingModeType::Type NumA::ScalingCell::getScalingModeType ( ) const

◆ getScalingParameters()

const std::pair< double, double > & NumA::ScalingCell::getScalingParameters ( ) const

◆ setScalingParameters() [1/2]

void NumA::ScalingCell::setScalingParameters ( const std::pair< double, double > &  input)

◆ setScalingParameters() [2/2]

void NumA::ScalingCell::setScalingParameters ( const std::vector< double > &  input)

◆ toString()

std::string NumA::ScalingCell::toString ( ) const
virtual

Reimplemented from NumA::NeuralNetworkCell.

Member Data Documentation

◆ m_pScalingFunction

ScalingFunction* NumA::ScalingCell::m_pScalingFunction
private

◆ m_scalingFunctionType

ScalingFunctionType::Type NumA::ScalingCell::m_scalingFunctionType
private

◆ m_scalingModeType

ScalingModeType::Type NumA::ScalingCell::m_scalingModeType
private

◆ m_scalingParameters

std::pair<double, double> NumA::ScalingCell::m_scalingParameters
private

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