← Documentation
ADS-IDAC Engine 5.0.0
KeyParameterHistory Class Reference

#include <KeyParameterHistory.h>

Public Member Functions

 KeyParameterHistory ()
 
virtual ~KeyParameterHistory ()
 
void addDataSet ()
 
void outputHistoryToFile ()
 
void outputHistoryToFile (int iESID, std::string strKPSDir)
 
void clearKeyParameterHistory ()
 
void copyKeyParameterHistory (KeyParameterHistory &)
 
void saveKeyParameterHistoryToFile (std::ofstream &)
 
void retrieveKeyParameterHistoryFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

float m_timer
 
std::vector< std::unique_ptr< KeyParameterHistoryUnit > > kps_history
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 24 of file KeyParameterHistory.h.

Constructor & Destructor Documentation

◆ KeyParameterHistory()

KeyParameterHistory::KeyParameterHistory ( )

Definition at line 29 of file KeyParameterHistory.cpp.

References m_timer.

◆ ~KeyParameterHistory()

KeyParameterHistory::~KeyParameterHistory ( )
virtual

Definition at line 34 of file KeyParameterHistory.cpp.

References clearKeyParameterHistory().

Here is the call graph for this function:

Member Function Documentation

◆ addDataSet()

void KeyParameterHistory::addDataSet ( )

Definition at line 39 of file KeyParameterHistory.cpp.

References kps_history, and m_timer.

Referenced by AdsidacCallback::onEvaluationPoint(), and AdsidacCallback::onFirstInit().

Here is the caller graph for this function:

◆ clearKeyParameterHistory()

void KeyParameterHistory::clearKeyParameterHistory ( )

Definition at line 137 of file KeyParameterHistory.cpp.

References kps_history.

Referenced by AdsidacCallback::initiationForRestart(), Client::parallel_restartforanewsequence_(), AdsidacCallback::restartForNewSequence(), and ~KeyParameterHistory().

Here is the caller graph for this function:

◆ copyKeyParameterHistory()

void KeyParameterHistory::copyKeyParameterHistory ( KeyParameterHistory &  kph)

Definition at line 140 of file KeyParameterHistory.cpp.

References kps_history.

Referenced by AdsidacCallback::initiationForRestart(), and RestartNodeInfo::saveRestartNodeInfo().

Here is the caller graph for this function:

◆ outputHistoryToFile() [1/2]

void KeyParameterHistory::outputHistoryToFile ( )

Definition at line 128 of file KeyParameterHistory.cpp.

References SimulationContext::Branch_center, g_sim, BranchRecord::getIDOfRecentGeneratedES(), Scheduler::getKPSDirectory(), kps_history, outputHistoryToFile(), and SimulationContext::SScheduler.

Referenced by main(), outputHistoryToFile(), and save_sequence_outputs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ outputHistoryToFile() [2/2]

void KeyParameterHistory::outputHistoryToFile ( int  iESID,
std::string  strKPSDir 
)

◆ retrieveKeyParameterHistoryFromFile()

void KeyParameterHistory::retrieveKeyParameterHistoryFromFile ( std::ifstream &  )

Definition at line 156 of file KeyParameterHistory.cpp.

References SimulationContext::Branch_center, g_sim, kps_history, NoKB, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Here is the call graph for this function:

◆ saveKeyParameterHistoryToFile()

void KeyParameterHistory::saveKeyParameterHistoryToFile ( std::ofstream &  )

Definition at line 148 of file KeyParameterHistory.cpp.

References kps_history.

◆ serialize()

template<class Archive >
void KeyParameterHistory::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 43 of file KeyParameterHistory.h.

References kps_history, and m_timer.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 39 of file KeyParameterHistory.h.

Member Data Documentation

◆ kps_history

◆ m_timer

float KeyParameterHistory::m_timer

Definition at line 27 of file KeyParameterHistory.h.

Referenced by addDataSet(), KeyParameterHistory(), and serialize().


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