ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::Statistics::LayerBase< TMeasurementVector, TTargetVector > Class Template Referenceabstract

#include <itkLayerBase.h>

+ Inheritance diagram for itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >:
+ Collaboration diagram for itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >:

Detailed Description

template<typename TMeasurementVector, typename TTargetVector>
class itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >

This is the itkLayerBase class.

Definition at line 38 of file itkLayerBase.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef InputFunctionBase
< ValueType *, ValueType
InputFunctionInterfaceType
 
typedef TMeasurementVector InputVectorType
 
typedef Array< ValueTypeInternalVectorType
 
typedef LayerBase LayerInterfaceType
 
enum  LayerTypeCode {
  INVALIDLAYER =0,
  INPUTLAYER =1,
  HIDDENLAYER =2,
  OUTPUTLAYER =3
}
 
typedef vnl_vector< ValueTypeNodeVectorType
 
typedef TTargetVector OutputVectorType
 
typedef SmartPointer< SelfPointer
 
typedef LayerBase Self
 
typedef LightProcessObject Superclass
 
typedef TransferFunctionBase
< ValueType
TransferFunctionInterfaceType
 
typedef const ValueTypeValueConstPointer
 
typedef ValueTypeValuePointer
 
typedef
TMeasurementVector::ValueType 
ValueType
 
typedef WeightSetBase
< TMeasurementVector,
TTargetVector > 
WeightSetInterfaceType
 
typedef WeightSetBase
< TMeasurementVector,
TTargetVector > 
WeightSetType
 
- Public Types inherited from itk::LightProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ValueType Activation (ValueType)=0
 
virtual void BackwardPropagate ()
 
virtual void BackwardPropagate (InternalVectorType)
 
virtual ValueType DActivation (ValueType)=0
 
virtual void ForwardPropagate ()
 
virtual void ForwardPropagate (TMeasurementVector)
 
virtual const
TransferFunctionInterfaceType
GetActivationFunction () const
 
virtual ValueType GetInputErrorValue (unsigned int) const =0
 
virtual ValuePointer GetInputErrorVector ()=0
 
virtual ValueType GetInputValue (unsigned int) const =0
 
virtual const
WeightSetInterfaceType
GetInputWeightSet () const
 
virtual const unsigned int & GetLayerId () const
 
virtual LayerTypeCode GetLayerTypeCode () const
 
virtual
TransferFunctionInterfaceType
GetModifiableActivationFunction ()
 
virtual WeightSetInterfaceTypeGetModifiableInputWeightSet ()
 
virtual
InputFunctionInterfaceType
GetModifiableNodeInputFunction ()
 
virtual WeightSetInterfaceTypeGetModifiableOutputWeightSet ()
 
virtual const char * GetNameOfClass () const
 
virtual const
InputFunctionInterfaceType
GetNodeInputFunction () const
 
unsigned int GetNumberOfNodes () const
 
virtual ValueType GetOutputErrorValue (unsigned int) const =0
 
virtual ValueType GetOutputValue (unsigned int) const =0
 
virtual ValuePointer GetOutputVector ()=0
 
virtual const
WeightSetInterfaceType
GetOutputWeightSet () const
 
virtual void SetInputErrorValue (ValueType, unsigned int)
 
void SetInputWeightSet (WeightSetInterfaceType *)
 
virtual void SetLayerId (unsigned int _arg)
 
virtual void SetLayerTypeCode (const LayerTypeCode _arg)
 
void SetNodeInputFunction (InputFunctionInterfaceType *f)
 
virtual void SetNumberOfNodes (unsigned int)
 
virtual void SetOutputErrorValues (TTargetVector)
 
void SetOutputWeightSet (WeightSetInterfaceType *)
 
void SetTransferFunction (TransferFunctionInterfaceType *f)
 
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const bool & GetAbortGenerateData () const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
virtual void SetProgress (float _arg)
 
virtual const float & GetProgress () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

 LayerBase ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~LayerBase ()
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

TransferFunctionInterfaceType::Pointer m_ActivationFunction
 
WeightSetInterfaceType::Pointer m_InputWeightSet
 
unsigned int m_LayerId
 
LayerTypeCode m_LayerTypeCode
 
InputFunctionInterfaceType::Pointer m_NodeInputFunction
 
unsigned int m_NumberOfNodes
 
WeightSetInterfaceType::Pointer m_OutputWeightSet
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightProcessObject
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Member Typedef Documentation

template<typename TMeasurementVector , typename TTargetVector >
typedef SmartPointer<const Self> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ConstPointer

Definition at line 44 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef InputFunctionBase<ValueType*, ValueType> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::InputFunctionInterfaceType

Definition at line 61 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef TMeasurementVector itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::InputVectorType

Definition at line 47 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef Array<ValueType> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::InternalVectorType

Definition at line 56 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef LayerBase itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::LayerInterfaceType

Definition at line 58 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef vnl_vector<ValueType> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::NodeVectorType

Definition at line 55 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef TTargetVector itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::OutputVectorType

Definition at line 50 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef SmartPointer<Self> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::Pointer

Definition at line 43 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef LayerBase itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::Self

Definition at line 41 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef LightProcessObject itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::Superclass

Definition at line 42 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef TransferFunctionBase<ValueType> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::TransferFunctionInterfaceType

Definition at line 62 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef const ValueType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ValueConstPointer

Definition at line 54 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef ValueType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ValuePointer

Definition at line 53 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef TMeasurementVector::ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ValueType

Definition at line 52 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef WeightSetBase<TMeasurementVector,TTargetVector> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::WeightSetInterfaceType

Definition at line 60 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
typedef WeightSetBase<TMeasurementVector,TTargetVector> itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::WeightSetType

Definition at line 59 of file itkLayerBase.h.

Member Enumeration Documentation

template<typename TMeasurementVector , typename TTargetVector >
enum itk::Statistics::LayerBase::LayerTypeCode
Enumerator
INVALIDLAYER 
INPUTLAYER 
HIDDENLAYER 
OUTPUTLAYER 

Definition at line 65 of file itkLayerBase.h.

Constructor & Destructor Documentation

template<typename TMeasurementVector , typename TTargetVector >
itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::LayerBase ( )
protected
template<typename TMeasurementVector , typename TTargetVector >
itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::~LayerBase ( )
protected

Member Function Documentation

template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::Activation ( ValueType  )
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::BackwardPropagate ( )
inlinevirtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::BackwardPropagate ( InternalVectorType  )
inlinevirtual

Definition at line 78 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::DActivation ( ValueType  )
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ForwardPropagate ( )
inlinevirtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::ForwardPropagate ( TMeasurementVector  )
inlinevirtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const TransferFunctionInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetActivationFunction ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetInputErrorValue ( unsigned  int) const
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual ValuePointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetInputErrorVector ( )
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetInputValue ( unsigned  int) const
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const WeightSetInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetInputWeightSet ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const unsigned int& itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetLayerId ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual LayerTypeCode itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetLayerTypeCode ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual TransferFunctionInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetModifiableActivationFunction ( )
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual WeightSetInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetModifiableInputWeightSet ( )
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual InputFunctionInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetModifiableNodeInputFunction ( )
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual WeightSetInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetModifiableOutputWeightSet ( )
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const char* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetNameOfClass ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const InputFunctionInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetNodeInputFunction ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
unsigned int itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetNumberOfNodes ( ) const
template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetOutputErrorValue ( unsigned  int) const
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual ValueType itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetOutputValue ( unsigned  int) const
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual ValuePointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetOutputVector ( )
pure virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual const WeightSetInterfaceType* itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::GetOutputWeightSet ( ) const
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetInputErrorValue ( ValueType  ,
unsigned int   
)
inlinevirtual
template<typename TMeasurementVector , typename TTargetVector >
void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetInputWeightSet ( WeightSetInterfaceType )
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetLayerId ( unsigned int  _arg)
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetLayerTypeCode ( const LayerTypeCode  _arg)
virtual
template<typename TMeasurementVector , typename TTargetVector >
void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetNodeInputFunction ( InputFunctionInterfaceType f)
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetNumberOfNodes ( unsigned  int)
virtual
template<typename TMeasurementVector , typename TTargetVector >
virtual void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetOutputErrorValues ( TTargetVector  )
inlinevirtual
template<typename TMeasurementVector , typename TTargetVector >
void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetOutputWeightSet ( WeightSetInterfaceType )
template<typename TMeasurementVector , typename TTargetVector >
void itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::SetTransferFunction ( TransferFunctionInterfaceType f)

Member Data Documentation

template<typename TMeasurementVector , typename TTargetVector >
TransferFunctionInterfaceType::Pointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_ActivationFunction
protected

Definition at line 154 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
WeightSetInterfaceType::Pointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_InputWeightSet
protected

Definition at line 151 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
unsigned int itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_LayerId
protected

Definition at line 148 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
LayerTypeCode itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_LayerTypeCode
protected

Definition at line 147 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
InputFunctionInterfaceType::Pointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_NodeInputFunction
protected

Definition at line 155 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
unsigned int itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_NumberOfNodes
protected

Definition at line 149 of file itkLayerBase.h.

template<typename TMeasurementVector , typename TTargetVector >
WeightSetInterfaceType::Pointer itk::Statistics::LayerBase< TMeasurementVector, TTargetVector >::m_OutputWeightSet
protected

Definition at line 152 of file itkLayerBase.h.


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