PetaVision  Alpha
 All Data Structures Namespaces Functions Variables
PV::CoreParamGroupHandler Class Reference
Inheritance diagram for PV::CoreParamGroupHandler:
PV::ParamGroupHandler

Public Member Functions

virtual ColProbecreateColProbe (char const *keyword, char const *name, HyPerCol *hc)
 
virtual BaseConnectioncreateConnection (char const *keyword, char const *name, HyPerCol *hc, InitWeights *weightInitializer=NULL, NormalizeBase *weightNormalizer=NULL)
 
virtual HyPerColcreateHyPerCol (char const *keyword, char const *name, HyPerCol *hc)
 
virtual HyPerLayercreateLayer (char const *keyword, char const *name, HyPerCol *hc)
 
virtual BaseProbecreateProbe (char const *keyword, char const *name, HyPerCol *hc)
 
virtual InitWeightscreateWeightInitializer (char const *keyword, char const *name, HyPerCol *hc)
 
virtual NormalizeBasecreateWeightNormalizer (char const *keyword, char const *name, HyPerCol *hc)
 
virtual ParamGroupType getGroupType (char const *keyword)
 

Detailed Description

Definition at line 20 of file CoreParamGroupHandler.hpp.

Member Function Documentation

ColProbe * PV::CoreParamGroupHandler::createColProbe ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a ColProbe keyword, create a ColProbe of the appropriate type, with the given name and parent HyPerCol. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 469 of file CoreParamGroupHandler.cpp.

BaseConnection * PV::CoreParamGroupHandler::createConnection ( char const *  keyword,
char const *  name,
HyPerCol hc,
InitWeights weightInitializer = NULL,
NormalizeBase weightNormalizer = NULL 
)
virtual

If the keyword is recognized as a connection keyword, create a connection of the appropriate type, with the given name, parent HyPerCol, weight initializer, and weight normalizer. The weight initializer and weight normalizer arguments default to null. Null values should be allowed in these two arguments unless it is an error for the specified connection type to be instantiated with a null value. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 404 of file CoreParamGroupHandler.cpp.

HyPerCol * PV::CoreParamGroupHandler::createHyPerCol ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a HyPerCol keyword, return the HyPerCol object; otherwise return NULL. Only the CoreParamGroupHandler should recognize a keyword returning HyPerColGroupType, and only the CoreParamGroupHandler should return a non-NULL value.

Reimplemented from PV::ParamGroupHandler.

Definition at line 238 of file CoreParamGroupHandler.cpp.

HyPerLayer * PV::CoreParamGroupHandler::createLayer ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a layer keyword, create a layer of the appropriate type, with the given name and parent HyPerCol. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 254 of file CoreParamGroupHandler.cpp.

BaseProbe * PV::CoreParamGroupHandler::createProbe ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a probe keyword, create a probe of the appropriate type, with the given name and parent HyPerCol. This method should handle both layer probes and connection probes. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 493 of file CoreParamGroupHandler.cpp.

InitWeights * PV::CoreParamGroupHandler::createWeightInitializer ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a weight initialization keyword, create a weight initialization object of the appropriate type, with the given name and parent HyPerCol. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 554 of file CoreParamGroupHandler.cpp.

NormalizeBase * PV::CoreParamGroupHandler::createWeightNormalizer ( char const *  keyword,
char const *  name,
HyPerCol hc 
)
virtual

If the keyword is recognized as a weight normalization keyword, create a weight normalization object of the appropriate type, with the given name and parent HyPerCol. If the keyword is not recognized, or is a non-layer keyword, the function should return NULL.

Reimplemented from PV::ParamGroupHandler.

Definition at line 608 of file CoreParamGroupHandler.cpp.

ParamGroupType PV::CoreParamGroupHandler::getGroupType ( char const *  keyword)
virtual

Takes a keyword string as input, and returns whether the keyword is recognized as a layer keyword, a connection keyword, etc.

Reimplemented from PV::ParamGroupHandler.

Definition at line 114 of file CoreParamGroupHandler.cpp.


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