← Documentation
ADS-IDAC Engine 5.0.0
BranchSubGoal Class Reference

#include <BranchSubGoal.h>

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

Public Member Functions

 BranchSubGoal ()
 
virtual ~BranchSubGoal ()
 
void copyBranchSubGoal (BranchSubGoal &)
 
void saveInfoToFile (std::ostream &)
 
std::string translateMessage ()
 
void saveBranchSubGoalToFile (std::ofstream &)
 
void retrieveBranchSubGoalFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from DecisionSubGoal
 DecisionSubGoal ()
 
virtual ~DecisionSubGoal ()
 
void copyDecisionSubGoal (DecisionSubGoal &)
 
void saveDecisionSubGoalToFile (std::ofstream &)
 
void retrieveDecisionSubGoalFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDecisionSubGoal (DecisionSubGoal &)
 
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 18 of file BranchSubGoal.h.

Constructor & Destructor Documentation

◆ BranchSubGoal()

BranchSubGoal::BranchSubGoal ( )

Definition at line 20 of file BranchSubGoal.cpp.

◆ ~BranchSubGoal()

BranchSubGoal::~BranchSubGoal ( )
virtual

Definition at line 24 of file BranchSubGoal.cpp.

Member Function Documentation

◆ copyBranchSubGoal()

void BranchSubGoal::copyBranchSubGoal ( BranchSubGoal &  _bgp)

Definition at line 27 of file BranchSubGoal.cpp.

References Communication::copyCommunication(), DecisionSubGoal::copyDecisionSubGoal(), and TimerAndProbability::copyTimerAndProbability().

Here is the call graph for this function:

◆ retrieveBranchSubGoalFromFile()

void BranchSubGoal::retrieveBranchSubGoalFromFile ( std::ifstream &  )

Definition at line 57 of file BranchSubGoal.cpp.

References Communication::retrieveCommunicationFromFile(), DecisionSubGoal::retrieveDecisionSubGoalFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().

Here is the call graph for this function:

◆ saveBranchSubGoalToFile()

void BranchSubGoal::saveBranchSubGoalToFile ( std::ofstream &  )

Definition at line 52 of file BranchSubGoal.cpp.

References Communication::saveCommunicationToFile(), DecisionSubGoal::saveDecisionSubGoalToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().

Here is the call graph for this function:

◆ saveInfoToFile()

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

Definition at line 46 of file BranchSubGoal.cpp.

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

Here is the call graph for this function:

◆ serialize()

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

Definition at line 34 of file BranchSubGoal.h.

◆ translateMessage()

string BranchSubGoal::translateMessage ( )

Definition at line 32 of file BranchSubGoal.cpp.

References g_sim, Decision::getDecision(), Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), 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 32 of file BranchSubGoal.h.


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