|
ADS-IDAC Engine 5.0.0
|
#include <SPDS.h>
Public Member Functions | |
| SPDS () | |
| virtual | ~SPDS () |
| void | updateAllSPDSUnitValues (InfoChunk *) |
| void | updateAllSPDSValueAndRate (InfoChunk *) |
| void | setTimeLapseForUpdate (double) |
| double | getTimeLapseForUpdate () |
| double | getSPDSValue () |
| double | getSPDSRate () |
| void | setSPDSValue (double) |
| void | SetSPDSRate (double) |
| void | copySPDS (SPDS &) |
| void | readInfoFromFile (std::string) |
| double | getLastUpdateTime () |
| void | setLastUpdateTime (double) |
| void | saveSPDSToFile (std::ofstream &) |
| void | retrieveSPDSFromFile (std::ifstream &) |
| void | outputSPDSLabelToFile (std::string, std::ofstream &) |
| void | outputSPDSUnitToFile (std::ofstream &) |
| void | initiationForSimulation (std::string) |
| void | clearSPDS () |
Public Attributes | |
| std::vector< std::unique_ptr< SPDSUnit > > | spds_input_array |
| std::deque< double > | spds_history |
| std::deque< double > | time |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| double | time_lapse_for_update |
| double | SPDS_value |
| double | SPDS_rate |
| double | last_update_time |
Friends | |
| class | boost::serialization::access |
|
virtual |
Definition at line 26 of file SPDS.cpp.
References clearSPDS().
| void SPDS::clearSPDS | ( | ) |
Definition at line 30 of file SPDS.cpp.
References spds_history, spds_input_array, and time.
Referenced by Operator::clearOperatorFinal(), Operator::clearOperatorForRestart(), Operator::clearOperatorFromRestartInfo(), Operator::clearOperatorFromRestartNodeInfoMultiProcessors(), and ~SPDS().
| void SPDS::copySPDS | ( | SPDS & | _spds | ) |
Definition at line 60 of file SPDS.cpp.
References getLastUpdateTime(), getSPDSRate(), getSPDSValue(), getTimeLapseForUpdate(), last_update_time, spds_history, spds_input_array, SPDS_rate, SPDS_value, time, and time_lapse_for_update.
Referenced by Operator::copyOperatorFromRestartInfo(), Operator::copyOperatorFromRestartInfoMultiProcessor(), and Operator::copyOperatorToRestartInfo().
| double SPDS::getLastUpdateTime | ( | ) |
Definition at line 103 of file SPDS.cpp.
References last_update_time.
Referenced by copySPDS().
| double SPDS::getSPDSRate | ( | ) |
Definition at line 56 of file SPDS.cpp.
References SPDS_rate.
Referenced by KeyParameterHistoryUnit::addDataSet(), and copySPDS().
| double SPDS::getSPDSValue | ( | ) |
Definition at line 55 of file SPDS.cpp.
References SPDS_value.
Referenced by KeyParameterHistoryUnit::addDataSet(), copySPDS(), Operator::quantificationFilter(), and Operator::updateEvidenceForAllPSFs().
| double SPDS::getTimeLapseForUpdate | ( | ) |
Definition at line 54 of file SPDS.cpp.
References time_lapse_for_update.
Referenced by copySPDS().
| void SPDS::initiationForSimulation | ( | std::string | ) |
Definition at line 35 of file SPDS.cpp.
References last_update_time, r5pars_, readInfoFromFile(), spds_history, time, and time_lapse_for_update.
Referenced by Operator::initiationForSimulation().
| void SPDS::outputSPDSLabelToFile | ( | std::string | , |
| std::ofstream & | |||
| ) |
Definition at line 159 of file SPDS.cpp.
References spds_input_array.
Referenced by KeyParameterHistoryUnit::outputPIFLabelToFile().
| void SPDS::outputSPDSUnitToFile | ( | std::ofstream & | ) |
Definition at line 168 of file SPDS.cpp.
References spds_input_array.
Referenced by KeyParameterHistoryUnit::outputPIFUnitToFile().
| void SPDS::readInfoFromFile | ( | std::string | ) |
Definition at line 79 of file SPDS.cpp.
References SimulationContext::Branch_center, g_sim, NoKB, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), spds_input_array, and time_lapse_for_update.
Referenced by initiationForSimulation().
| void SPDS::retrieveSPDSFromFile | ( | std::ifstream & | ) |
Definition at line 197 of file SPDS.cpp.
References last_update_time, spds_history, spds_input_array, SPDS_rate, SPDS_value, time, and time_lapse_for_update.
Referenced by Operator::retrieveOperatorFromFile().
| void SPDS::saveSPDSToFile | ( | std::ofstream & | ) |
Definition at line 176 of file SPDS.cpp.
References last_update_time, spds_history, spds_input_array, SPDS_rate, SPDS_value, time, and time_lapse_for_update.
Referenced by Operator::saveOperatorToFile().
|
inlineprivate |
Definition at line 54 of file SPDS.h.
References last_update_time, spds_history, spds_input_array, SPDS_rate, SPDS_value, time, and time_lapse_for_update.
| void SPDS::setLastUpdateTime | ( | double | x | ) |
Definition at line 104 of file SPDS.cpp.
References last_update_time.
| void SPDS::setSPDSValue | ( | double | x | ) |
Definition at line 57 of file SPDS.cpp.
References SPDS_value.
| void SPDS::setTimeLapseForUpdate | ( | double | x | ) |
Definition at line 53 of file SPDS.cpp.
References time_lapse_for_update.
| void SPDS::updateAllSPDSUnitValues | ( | InfoChunk * | _perceived_info_ptr | ) |
Definition at line 47 of file SPDS.cpp.
References spds_input_array.
Referenced by updateAllSPDSValueAndRate().
| void SPDS::updateAllSPDSValueAndRate | ( | InfoChunk * | _perceived_info_ptr | ) |
Definition at line 106 of file SPDS.cpp.
References last_update_time, r5pars_, spds_history, spds_input_array, SPDS_rate, SPDS_value, time, time_lapse_for_update, and updateAllSPDSUnitValues().
Referenced by OperatorAT::oneThroughProcessForBlockI(), and OperatorDM::oneThroughProcessForBlockI().
|
private |
Definition at line 48 of file SPDS.h.
Referenced by copySPDS(), getLastUpdateTime(), initiationForSimulation(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), setLastUpdateTime(), and updateAllSPDSValueAndRate().
| std::deque<double> SPDS::spds_history |
Definition at line 44 of file SPDS.h.
Referenced by clearSPDS(), copySPDS(), initiationForSimulation(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), and updateAllSPDSValueAndRate().
| std::vector<std::unique_ptr<SPDSUnit> > SPDS::spds_input_array |
Definition at line 43 of file SPDS.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), clearSPDS(), copySPDS(), outputSPDSLabelToFile(), outputSPDSUnitToFile(), readInfoFromFile(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), updateAllSPDSUnitValues(), and updateAllSPDSValueAndRate().
|
private |
Definition at line 48 of file SPDS.h.
Referenced by copySPDS(), getSPDSRate(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), SetSPDSRate(), and updateAllSPDSValueAndRate().
|
private |
Definition at line 48 of file SPDS.h.
Referenced by copySPDS(), getSPDSValue(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), setSPDSValue(), and updateAllSPDSValueAndRate().
| std::deque<double> SPDS::time |
Definition at line 45 of file SPDS.h.
Referenced by clearSPDS(), copySPDS(), initiationForSimulation(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), and updateAllSPDSValueAndRate().
|
private |
Definition at line 48 of file SPDS.h.
Referenced by copySPDS(), getTimeLapseForUpdate(), initiationForSimulation(), readInfoFromFile(), retrieveSPDSFromFile(), saveSPDSToFile(), serialize(), setTimeLapseForUpdate(), and updateAllSPDSValueAndRate().