PetaVision  Alpha
 All Data Structures Namespaces Functions Variables
PV::InitUniformWeights Class Reference
Inheritance diagram for PV::InitUniformWeights:
PV::InitWeights PV::BaseObject

Public Member Functions

 InitUniformWeights (char const *name, HyPerCol *hc)
 
virtual int calcWeights (pvdata_t *dataStart, int patchIndex, int arborId)
 
virtual int calcWeights ()
 
virtual int calcWeights (pvwdata_t *dataStart, int patchIndex, int arborId)
 
virtual int communicateParamsInfo ()
 
virtual InitWeightsParamscreateNewWeightParams ()
 
char const * getKeyword () const
 
char const * getName () const
 
HyPerColgetParent () const
 
int initializeWeights (PVPatch ***patches, pvwdata_t **dataStart, double *timef=NULL)
 
virtual int ioParamsFillGroup (enum ParamsIOFlag ioFlag)
 
virtual int readWeights (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *filename, double *time=NULL)
 

Protected Member Functions

int initialize (char const *name, HyPerCol *hc)
 
int initialize_base ()
 
virtual int initRNGs (bool isKernel)
 
virtual int readCombinedWeightFiles (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *fileOfWeightFiles, double *timef=NULL)
 
virtual int readListOfArborFiles (PVPatch ***patches, pvwdata_t **dataStart, int numPatches, const char *listOfArborsFilename, double *timef=NULL)
 
int setName (char const *name)
 
int setParent (HyPerCol *hc)
 
virtual int zeroWeightsOutsideShrunkenPatch (PVPatch ***patches)
 

Protected Attributes

HyPerConncallingConn
 
char * name
 
HyPerColparent
 
InitWeightsParamsweightParams
 

Private Member Functions

int uniformWeights (pvdata_t *dataStart, float iWeight, int kf, InitUniformWeightsParams *weightParamPtr, bool connectOnlySameFeatures=false)
 

Detailed Description

Definition at line 16 of file InitUniformWeights.hpp.

Member Function Documentation

int PV::InitUniformWeights::uniformWeights ( pvdata_t *  dataStart,
float  iWeight,
int  kf,
InitUniformWeightsParams weightParamPtr,
bool  connectOnlySameFeatures = false 
)
private

Initializes all weights to iWeight

Definition at line 63 of file InitUniformWeights.cpp.


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