← Documentation
ADS-IDAC Engine 5.0.0
BranchGoal Class Reference

#include <BranchGoal.h>

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

Public Member Functions

 BranchGoal ()
 
virtual ~BranchGoal ()
 
void copyBranchGoal (BranchGoal &)
 
void saveInfoToFile (std::ostream &)
 
std::string translateMessage ()
 
void saveBranchGoalToFile (std::ofstream &)
 
void retrieveBranchGoalFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from DecisionGoal
 DecisionGoal ()
 
virtual ~DecisionGoal ()
 
void copyDecisionGoal (DecisionGoal &)
 
void saveDecisionGoalToFile (std::ofstream &)
 
void retrieveDecisionGoalFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDecisionGoal (DecisionGoal &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Decision
 Decision ()
 
virtual ~Decision ()
 
void setDecision (int)
 
int getDecision ()
 
void copyDecision (Decision &)
 
void saveDecisionToFile (std::ostream &)
 
void retrieveDecisionFromFile (std::istream &)
 
bool checkIfIsIdenticalDecision (Decision &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from StateOfActivation
 StateOfActivation ()
 
virtual ~StateOfActivation ()
 
int getStateOfActivation ()
 
void setStateOfActivation (int)
 
void copyStateOfActivation (StateOfActivation &)
 
void saveStateOfActivationToFile (std::ofstream &)
 
void retrieveStateOfActivationFromFile (std::ifstream &)
 
void resetStateOfActivation ()
 
bool checkIfIsIdenticalStateOfActivation (StateOfActivation &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from MentalInfo
 MentalInfo ()
 
virtual ~MentalInfo ()
 
void setTimeAtWhichThisInfoIsPerceived (double)
 
double getTimeAtWhichThisInfoIsPerceived ()
 
void setTypeOfMentalInfo (int)
 
int getTypeOfMentalInfo ()
 
void copyMentalInfo (MentalInfo &)
 
void saveMentalInfoToFile (std::ofstream &)
 
void retrieveMentalInfoFromFile (std::ifstream &)
 
bool checkIfIsIdenticalMentalInfo (MentalInfo &)
 
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)
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 21 of file BranchGoal.h.

Constructor & Destructor Documentation

◆ BranchGoal()

BranchGoal::BranchGoal ( )

Definition at line 20 of file BranchGoal.cpp.

◆ ~BranchGoal()

BranchGoal::~BranchGoal ( )
virtual

Definition at line 25 of file BranchGoal.cpp.

Member Function Documentation

◆ copyBranchGoal()

void BranchGoal::copyBranchGoal ( BranchGoal &  _bgp)

Definition at line 29 of file BranchGoal.cpp.

References Communication::copyCommunication(), DecisionGoal::copyDecisionGoal(), and TimerAndProbability::copyTimerAndProbability().

Here is the call graph for this function:

◆ retrieveBranchGoalFromFile()

void BranchGoal::retrieveBranchGoalFromFile ( std::ifstream &  )

Definition at line 61 of file BranchGoal.cpp.

References Communication::retrieveCommunicationFromFile(), DecisionGoal::retrieveDecisionGoalFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().

Here is the call graph for this function:

◆ saveBranchGoalToFile()

void BranchGoal::saveBranchGoalToFile ( std::ofstream &  )

Definition at line 56 of file BranchGoal.cpp.

References Communication::saveCommunicationToFile(), DecisionGoal::saveDecisionGoalToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().

Here is the call graph for this function:

◆ saveInfoToFile()

void BranchGoal::saveInfoToFile ( std::ostream &  )

Definition at line 52 of file BranchGoal.cpp.

References Decision::getDecision(), Probability::getProbability(), Timer::getRemainingTime(), Communication::getSender(), Communication::getTimeOfCommunication(), sim::Decision::Goal, and sim::None.

Here is the call graph for this function:

◆ serialize()

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

Definition at line 36 of file BranchGoal.h.

◆ translateMessage()

string BranchGoal::translateMessage ( )

Definition at line 34 of file BranchGoal.cpp.

References sim::Source::Bypass, g_sim, Decision::getDecision(), Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), StateOfActivation::getStateOfActivation(), ConvertToString::getString(), 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 34 of file BranchGoal.h.


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