PetaVision  Alpha
PV::LogTimeScaleController Class Reference
Inheritance diagram for PV::LogTimeScaleController:
PV::AdaptiveTimeScaleController PV::CheckpointerDataInterface PV::Observer

Public Member Functions

 LogTimeScaleController (char const *name, int batchWidth, double baseMax, double baseMin, double tauFactor, double growthFactor, bool writeTimeScaleFieldnames, Communicator *comm, double logThresh, double logSlope)
 
virtual std::vector< double > calcTimesteps (double timeValue, std::vector< double > const &rawTimeScales) override
 
std::string const & getDescription () const
 
char const * getDescription_c () const
 
MPIBlock const * getMPIBlock ()
 
virtual Response::Status readStateFromCheckpoint (Checkpointer *checkpointer)
 
virtual Response::Status registerData (Checkpointer *checkpointer) override
 
virtual Response::Status respond (std::shared_ptr< BaseMessage const > message) override
 
void writeTimestepInfo (double timeValue, std::vector< PrintStream * > &streams)
 

Protected Member Functions

virtual Response::Status prepareCheckpointWrite ()
 
virtual Response::Status processCheckpointRead ()
 
Response::Status respondPrepareCheckpointWrite (std::shared_ptr< PrepareCheckpointWriteMessage const > message)
 
Response::Status respondProcessCheckpointRead (std::shared_ptr< ProcessCheckpointReadMessage const > message)
 
Response::Status respondReadStateFromCheckpoint (std::shared_ptr< ReadStateFromCheckpointMessage< Checkpointer > const > message)
 
Response::Status respondRegisterData (std::shared_ptr< RegisterDataMessage< Checkpointer > const > message)
 

Protected Attributes

std::string description
 
double mBaseMax
 
double mBaseMin
 
int mBatchWidth
 
CommunicatormCommunicator
 
double mGrowthFactor
 
double mLogSlope = 1.0
 
double mLogThresh = DBL_MAX_EXP
 
char * mName
 
std::vector< double > mOldTimeScale
 
TimeScaleInfo mOldTimeScaleInfo
 
std::vector< double > mOldTimeScaleTrue
 
double mTauFactor
 
TimeScaleInfo mTimeScaleInfo
 
bool mWriteTimeScaleFieldnames
 

Detailed Description

Definition at line 9 of file LogTimeScaleController.hpp.


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