|
ADS-IDAC Engine 5.0.0
|
#include <BranchInfoGatherMode.h>
Public Member Functions | |
| BranchInfoGatherMode () | |
| virtual | ~BranchInfoGatherMode () |
| void | setInfoGatherMode (int) |
| int | getInfoGatherMode () |
| void | saveInfoToFile (std::ostream &) |
| void | copyBranchInfoGatherMode (BranchInfoGatherMode &) |
| std::string | translateMessage () |
| void | saveBranchInfoGatherModeToFile (std::ofstream &) |
| void | retrieveBranchInfoGatherModeFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from TimerAndProbability | |
| TimerAndProbability () | |
| virtual | ~TimerAndProbability () |
| void | setTimerAndProbability (double, double) |
| void | copyTimerAndProbability (TimerAndProbability &) |
| void | saveTimerAndProbabilityToFile (std::ofstream &) |
| void | retrieveTimerAndProbabilityFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Timer | |
| template<class Archive > | |
| void | timer_state_save (Archive &ar) const |
| template<class Archive > | |
| void | timer_state_load (Archive &ar) |
| double | calculateRequiredTime () |
| double | calculateRequiredTime (double) |
| double | calculateMeanRequiredTime () |
| double | calculateMeanRequiredTime (double, double) |
| double | calculateWeibull_pdf (double) |
| Timer () | |
| virtual | ~Timer () |
| void | setRemainingTime (double) |
| void | setTotalTimeRequired (double) |
| void | setAlpha_Weibull (double) |
| void | setBeta_Weibull (double) |
| void | setT_Minimum (double) |
| double | getTotalTimeRequired () |
| double | getRemainingTime () |
| double | reduceRemainingTime (double) |
| double | getAlpha_Weibull () |
| double | getBeta_Weibull () |
| double | getT_Minimum () |
| void | copyTimer (Timer &) |
| int | getNumberOfIntervals () const |
| void | setNumberOfIntervals (int) |
| int | getNumberOfIntervalsPassed () const |
| void | setNumberOfIntervalsPassed (int) |
| double | getTimeAtDemand () const |
| void | setTimeAtDemand (double) |
| void | saveTimerToFile (std::ofstream &) |
| void | retrieveTimerFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalTimer (Timer &) |
| void | setBothTotalTimeRequiredAndRemainingTime (double) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Probability | |
| double | calculateProbability () |
| double | calculateSurvivalProbability (double) |
| double | gamma_log (double) |
| double | beta_cdf_inv (double, double, double) |
| double | beta_cdf (double, double, double) |
| double | beta_pdf (double, double, double) |
| double | beta_inc (double, double, double) |
| double | beta (double, double) |
| double | r8_huge () |
| double | r8_epsilon (void) |
| Probability () | |
| virtual | ~Probability () |
| void | setProbability (double) |
| double | getProbability () |
| void | setAlpha_Parameter (double) |
| double | getAlpha_Parameter () |
| void | setBeta_Parameter (double) |
| double | getBeta_Parameter () |
| void | copyProbability (Probability &) |
| void | saveProbabilityToFile (std::ofstream &) |
| void | retrieveProbabilityFromFile (std::ifstream &) |
| double | getFailureRate () const |
| void | setFailureRate (double failure_rate) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Communication | |
| Communication () | |
| Communication (int, int) | |
| virtual | ~Communication () |
| void | setSender (int) |
| void | setTypeOfCommunication (int) |
| void | setTypeOfPauseActivity (int) |
| void | setIntendedReceiver (int) |
| void | setTimeOfCommunication (double) |
| void | setSenderAndReceiver (int, int) |
| void | setCommunicationPriority (int) |
| int | getSender () |
| int | getIntendedReceiver () |
| int | getTypeOfCommunication () |
| int | getTypeOfPauseActivity () |
| double | getTimeOfCommunication () |
| int | getCommunicationPriority () |
| void | copyCommunication (Communication &) |
| void | saveCommunicationToFile (std::ofstream &) |
| void | retrieveCommunicationFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | info_gather_mode |
Friends | |
| class | boost::serialization::access |
Definition at line 19 of file BranchInfoGatherMode.h.
| BranchInfoGatherMode::BranchInfoGatherMode | ( | ) |
Definition at line 20 of file BranchInfoGatherMode.cpp.
References info_gather_mode, and sim::State::New.
|
virtual |
Definition at line 24 of file BranchInfoGatherMode.cpp.
| void BranchInfoGatherMode::copyBranchInfoGatherMode | ( | BranchInfoGatherMode & | _bigm | ) |
Definition at line 40 of file BranchInfoGatherMode.cpp.
References Communication::copyCommunication(), TimerAndProbability::copyTimerAndProbability(), getInfoGatherMode(), and info_gather_mode.
| int BranchInfoGatherMode::getInfoGatherMode | ( | ) |
Definition at line 28 of file BranchInfoGatherMode.cpp.
References info_gather_mode.
Referenced by copyBranchInfoGatherMode().
| void BranchInfoGatherMode::retrieveBranchInfoGatherModeFromFile | ( | std::ifstream & | ) |
Definition at line 67 of file BranchInfoGatherMode.cpp.
References info_gather_mode, Communication::retrieveCommunicationFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().
| void BranchInfoGatherMode::saveBranchInfoGatherModeToFile | ( | std::ofstream & | ) |
Definition at line 62 of file BranchInfoGatherMode.cpp.
References info_gather_mode, Communication::saveCommunicationToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().
| void BranchInfoGatherMode::saveInfoToFile | ( | std::ostream & | ) |
Definition at line 29 of file BranchInfoGatherMode.cpp.
References Probability::getProbability(), Timer::getRemainingTime(), Communication::getSender(), Communication::getTimeOfCommunication(), info_gather_mode, sim::None, sim::State::OldInfo, and sim::Action::SendInfo.
|
inline |
Definition at line 35 of file BranchInfoGatherMode.h.
References info_gather_mode.
| void BranchInfoGatherMode::setInfoGatherMode | ( | int | n | ) |
Definition at line 27 of file BranchInfoGatherMode.cpp.
References info_gather_mode.
Referenced by Operator::generateInfoGatherModeBranch().
| string BranchInfoGatherMode::translateMessage | ( | ) |
Definition at line 45 of file BranchInfoGatherMode.cpp.
References g_sim, Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), ConvertToString::getString(), info_gather_mode, sim::State::OldInfo, and SimulationContext::Translator.
|
friend |
Definition at line 33 of file BranchInfoGatherMode.h.
|
private |
Definition at line 43 of file BranchInfoGatherMode.h.
Referenced by BranchInfoGatherMode(), copyBranchInfoGatherMode(), getInfoGatherMode(), retrieveBranchInfoGatherModeFromFile(), saveBranchInfoGatherModeToFile(), saveInfoToFile(), serialize(), setInfoGatherMode(), and translateMessage().