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

Public Member Functions

 KneeTimeScaleController (char const *name, int batchWidth, double baseMax, double baseMin, double tauFactor, double growthFactor, bool writeTimeScaleFieldnames, Communicator *comm, double kneeThresh, double kneeSlope)
 
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 mKneeSlope = 1.0
 
double mKneeThresh = 1.0
 
char * mName
 
std::vector< double > mOldTimeScale
 
TimeScaleInfo mOldTimeScaleInfo
 
std::vector< double > mOldTimeScaleTrue
 
double mTauFactor
 
TimeScaleInfo mTimeScaleInfo
 
bool mWriteTimeScaleFieldnames
 

Detailed Description

Definition at line 8 of file KneeTimeScaleController.hpp.


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