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

Data Structures

struct  TimeScaleInfo
 

Public Member Functions

 AdaptiveTimeScaleController (char const *name, int batchWidth, double baseMax, double baseMin, double tauFactor, double growthFactor, bool writeTimeScaleFieldnames, Communicator *comm)
 
virtual std::vector< double > calcTimesteps (double timeValue, std::vector< double > const &rawTimeScales)
 
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
 
char * mName
 
std::vector< double > mOldTimeScale
 
TimeScaleInfo mOldTimeScaleInfo
 
std::vector< double > mOldTimeScaleTrue
 
double mTauFactor
 
TimeScaleInfo mTimeScaleInfo
 
bool mWriteTimeScaleFieldnames
 

Detailed Description

Definition at line 20 of file AdaptiveTimeScaleController.hpp.


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