← Documentation
ADS-IDAC Engine 5.0.0
ExpectedMentalBelief Class Reference

#include <ExpectedMentalBelief.h>

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

Public Member Functions

void state_save (boost::archive::binary_oarchive &ar) const override
 
void state_load (boost::archive::binary_iarchive &ar) override
 
 ExpectedMentalBelief ()
 
virtual ~ExpectedMentalBelief ()
 
void setExpectedState (int)
 
int getExpectedState ()
 
void readInfoFromFile (std::ifstream &)
 
void copyExpectedMentalBelief (ExpectedMentalBelief &)
 
void saveExpectedMentalBeliefToFile (std::ofstream &)
 
void retrieveExpectedMentalBeliefFromFile (std::ifstream &)
 
bool checkIfIsIdenticalExpectedMentalBelief (ExpectedMentalBelief &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from KBElement
 KBElement ()
 
virtual ~KBElement ()
 
void setInfoName (std::string)
 
std::string getInfoName ()
 
void readInfoFromFile (std::ifstream &)
 
void copyKBElement (KBElement &)
 
void saveKBElementToFile (std::ofstream &)
 
void retrieveKBElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalKBElement (KBElement &)
 
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 ExpectationElement
virtual void state_save (boost::archive::binary_oarchive &ar) const
 
virtual void state_load (boost::archive::binary_iarchive &ar)
 
 ExpectationElement ()
 
virtual ~ExpectationElement ()
 
void setStateOfExpectation (int)
 
int getStateOfExpectation ()
 
int updateExpectation (int)
 
void copyExpectationElement (ExpectationElement &)
 
void setTypeOfExpectation (int)
 
int getTypeOfExpectation ()
 
void saveExpectationElementToFile (std::ofstream &)
 
void retrieveExpectationElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalExpectationElement (ExpectationElement &)
 
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)
 

Private Attributes

int expected_state
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Attributes inherited from KBElement
std::string info_name
 

Detailed Description

Definition at line 20 of file ExpectedMentalBelief.h.

Constructor & Destructor Documentation

◆ ExpectedMentalBelief()

ExpectedMentalBelief::ExpectedMentalBelief ( )

Definition at line 16 of file ExpectedMentalBelief.cpp.

References expected_state, and sim::None.

◆ ~ExpectedMentalBelief()

ExpectedMentalBelief::~ExpectedMentalBelief ( )
virtual

Definition at line 22 of file ExpectedMentalBelief.cpp.

Member Function Documentation

◆ checkIfIsIdenticalExpectedMentalBelief()

bool ExpectedMentalBelief::checkIfIsIdenticalExpectedMentalBelief ( ExpectedMentalBelief &  _emb)

Definition at line 62 of file ExpectedMentalBelief.cpp.

References ExpectationElement::checkIfIsIdenticalExpectationElement(), KBElement::checkIfIsIdenticalKBElement(), and Timer::checkIfIsIdenticalTimer().

Here is the call graph for this function:

◆ copyExpectedMentalBelief()

void ExpectedMentalBelief::copyExpectedMentalBelief ( ExpectedMentalBelief &  _mp)

Definition at line 38 of file ExpectedMentalBelief.cpp.

References ExpectationElement::copyExpectationElement(), KBElement::copyKBElement(), ProcedureExpectORLink::copyProcedureExpectORLink(), StateOfActivation::copyStateOfActivation(), Timer::copyTimer(), expected_state, and getExpectedState().

Referenced by ExpectationORUnit::assessExpectation(), BranchExpectedMentalBelief::copyBranchExpectedMentalBelief(), OperatorAT::infoChunking(), and OperatorDM::infoChunking().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getExpectedState()

int ExpectedMentalBelief::getExpectedState ( )

Definition at line 28 of file ExpectedMentalBelief.cpp.

References expected_state.

Referenced by ExpectationORUnit::assessExpectation(), copyExpectedMentalBelief(), and BranchExpectedMentalBelief::translateMessage().

Here is the caller graph for this function:

◆ readInfoFromFile()

void ExpectedMentalBelief::readInfoFromFile ( std::ifstream &  )

Definition at line 30 of file ExpectedMentalBelief.cpp.

References expected_state, Timer::remaining_time, KBElement::setInfoName(), and ProcedureExpectORLink::setORLink().

Referenced by DiagnosisComponentActionUnit::readDiagnosisComponentPrerequisiteFromFile(), and ProcedureStepUnit::readInfofromFileExpectation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retrieveExpectedMentalBeliefFromFile()

void ExpectedMentalBelief::retrieveExpectedMentalBeliefFromFile ( std::ifstream &  )

Definition at line 54 of file ExpectedMentalBelief.cpp.

References expected_state, ExpectationElement::retrieveExpectationElementFromFile(), KBElement::retrieveKBElementFromFile(), ProcedureExpectORLink::retrieveProcedureExpectORLinkFromFile(), StateOfActivation::retrieveStateOfActivationFromFile(), and Timer::retrieveTimerFromFile().

Referenced by BranchExpectedMentalBelief::retrieveBranchExpectedMentalBeliefFromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveExpectedMentalBeliefToFile()

void ExpectedMentalBelief::saveExpectedMentalBeliefToFile ( std::ofstream &  )

Definition at line 46 of file ExpectedMentalBelief.cpp.

References expected_state, ExpectationElement::saveExpectationElementToFile(), KBElement::saveKBElementToFile(), ProcedureExpectORLink::saveProcedureExpectORLinkToFile(), StateOfActivation::saveStateOfActivationToFile(), and Timer::saveTimerToFile().

Referenced by BranchExpectedMentalBelief::saveBranchExpectedMentalBeliefToFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

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

Definition at line 42 of file ExpectedMentalBelief.h.

References expected_state.

◆ setExpectedState()

void ExpectedMentalBelief::setExpectedState ( int  n)

Definition at line 27 of file ExpectedMentalBelief.cpp.

References expected_state.

◆ state_load()

void ExpectedMentalBelief::state_load ( boost::archive::binary_iarchive &  ar)
overridevirtual

Reimplemented from ExpectationElement.

Definition at line 80 of file ExpectedMentalBelief.cpp.

References StateOfActivation::setStateOfActivation(), ExpectationElement::state_load(), and Timer::timer_state_load().

Here is the call graph for this function:

◆ state_save()

void ExpectedMentalBelief::state_save ( boost::archive::binary_oarchive &  ar) const
overridevirtual

Reimplemented from ExpectationElement.

Definition at line 74 of file ExpectedMentalBelief.cpp.

References StateOfActivation::getStateOfActivation(), ExpectationElement::state_save(), and Timer::timer_state_save().

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 40 of file ExpectedMentalBelief.h.

Member Data Documentation

◆ expected_state


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