← Documentation
ADS-IDAC Engine 5.0.0
BranchInfoGatherMode Class Reference

#include <BranchInfoGatherMode.h>

Inheritance diagram for BranchInfoGatherMode:
[legend]
Collaboration diagram for BranchInfoGatherMode:
[legend]

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
 

Detailed Description

Definition at line 19 of file BranchInfoGatherMode.h.

Constructor & Destructor Documentation

◆ BranchInfoGatherMode()

BranchInfoGatherMode::BranchInfoGatherMode ( )

Definition at line 20 of file BranchInfoGatherMode.cpp.

References info_gather_mode, and sim::State::New.

◆ ~BranchInfoGatherMode()

BranchInfoGatherMode::~BranchInfoGatherMode ( )
virtual

Definition at line 24 of file BranchInfoGatherMode.cpp.

Member Function Documentation

◆ copyBranchInfoGatherMode()

void BranchInfoGatherMode::copyBranchInfoGatherMode ( BranchInfoGatherMode &  _bigm)

Definition at line 40 of file BranchInfoGatherMode.cpp.

References Communication::copyCommunication(), TimerAndProbability::copyTimerAndProbability(), getInfoGatherMode(), and info_gather_mode.

Here is the call graph for this function:

◆ getInfoGatherMode()

int BranchInfoGatherMode::getInfoGatherMode ( )

Definition at line 28 of file BranchInfoGatherMode.cpp.

References info_gather_mode.

Referenced by copyBranchInfoGatherMode().

Here is the caller graph for this function:

◆ retrieveBranchInfoGatherModeFromFile()

void BranchInfoGatherMode::retrieveBranchInfoGatherModeFromFile ( std::ifstream &  )

Definition at line 67 of file BranchInfoGatherMode.cpp.

References info_gather_mode, Communication::retrieveCommunicationFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().

Here is the call graph for this function:

◆ saveBranchInfoGatherModeToFile()

void BranchInfoGatherMode::saveBranchInfoGatherModeToFile ( std::ofstream &  )

Definition at line 62 of file BranchInfoGatherMode.cpp.

References info_gather_mode, Communication::saveCommunicationToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().

Here is the call graph for this function:

◆ saveInfoToFile()

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.

Here is the call graph for this function:

◆ serialize()

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

Definition at line 35 of file BranchInfoGatherMode.h.

References info_gather_mode.

◆ setInfoGatherMode()

void BranchInfoGatherMode::setInfoGatherMode ( int  n)

Definition at line 27 of file BranchInfoGatherMode.cpp.

References info_gather_mode.

Referenced by Operator::generateInfoGatherModeBranch().

Here is the caller graph for this function:

◆ translateMessage()

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.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 33 of file BranchInfoGatherMode.h.

Member Data Documentation

◆ info_gather_mode


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