PARTONS/NumA++
|
Numerical Analysis C++ routines
|
![]() |
Public Member Functions | |
NeuralNetworkCell () | |
NeuralNetworkCell (const std::string &name, NeuralNetworkCellType::Type type) | |
virtual | ~NeuralNetworkCell () |
virtual NeuralNetworkCell * | clone () const |
virtual std::string | toString () const |
NeuralNetworkCellType::Type | getType () const |
virtual void | evaluate () |
virtual double | evaluateDerivativeBackward (NeuralNetworkNeuron *const neuron) 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) |
virtual void | checkConsistency () const |
bool | checkProperty (NeuralNetworkCellPropertyType::Type property) const |
Protected Member Functions | |
NeuralNetworkCell (const NeuralNetworkCell &other) | |
Protected Attributes | |
double | m_output |
std::vector< NeuralNetworkNeuron * > | m_neuronsIn |
std::vector< NeuralNetworkNeuron * > | m_neuronsOut |
std::vector< NeuralNetworkCellPropertyType::Type > | m_properties |
Private Attributes | |
NeuralNetworkCellType::Type | m_type |
NumA::NeuralNetworkCell::NeuralNetworkCell | ( | ) |
NumA::NeuralNetworkCell::NeuralNetworkCell | ( | const std::string & | name, |
NeuralNetworkCellType::Type | type | ||
) |
|
virtual |
|
protected |
void NumA::NeuralNetworkCell::addNeuronIn | ( | NeuralNetworkNeuron *const | neuron | ) |
void NumA::NeuralNetworkCell::addNeuronOut | ( | NeuralNetworkNeuron *const | neuron | ) |
|
virtual |
Reimplemented in NumA::TransitionCell, NumA::ScalingCell, NumA::Perceptron, NumA::OutputCell, and NumA::InputCell.
bool NumA::NeuralNetworkCell::checkProperty | ( | NeuralNetworkCellPropertyType::Type | property | ) | const |
|
virtual |
Reimplemented in NumA::TransitionCell, NumA::ScalingCell, NumA::Perceptron, NumA::OutputCell, and NumA::InputCell.
|
virtual |
Reimplemented in NumA::TransitionCell, NumA::ScalingCell, NumA::Perceptron, NumA::OutputCell, and NumA::InputCell.
|
virtual |
Reimplemented in NumA::TransitionCell, NumA::ScalingCell, NumA::Perceptron, NumA::OutputCell, and NumA::InputCell.
const std::vector< NeuralNetworkNeuron * > & NumA::NeuralNetworkCell::getNeuronsIn | ( | ) | const |
const std::vector< NeuralNetworkNeuron * > & NumA::NeuralNetworkCell::getNeuronsOut | ( | ) | const |
double NumA::NeuralNetworkCell::getOutput | ( | ) | const |
NeuralNetworkCellType::Type NumA::NeuralNetworkCell::getType | ( | ) | const |
void NumA::NeuralNetworkCell::setNeuronsIn | ( | const std::vector< NeuralNetworkNeuron * > & | neurons | ) |
void NumA::NeuralNetworkCell::setNeuronsOut | ( | const std::vector< NeuralNetworkNeuron * > & | neurons | ) |
void NumA::NeuralNetworkCell::setOutput | ( | double | output | ) |
|
virtual |
Reimplemented in NumA::TransitionCell, NumA::ScalingCell, NumA::Perceptron, NumA::OutputCell, and NumA::InputCell.
|
protected |
|
protected |
|
protected |
|
protected |
|
private |