← Documentation
ADS-IDAC Engine 5.0.0
SupportSystemReliabilityUnit Class Reference

#include <SupportSystemReliabilityUnit.h>

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

Public Member Functions

 SupportSystemReliabilityUnit (const std::string &topNode)
 
virtual ~SupportSystemReliabilityUnit ()
 
void setCorrespondingSupportSystemPt (DisplaySupportSystemState *correspondingSupportSystemPt)
 
int getInitialSupportSystemState () const
 
void setInitialSupportSystemState (int initialSupportSystemState)
 
const std::string & getTopNode () const
 
const std::vector< std::string > & getBasicNodes () const
 
void setBasicNodes (const std::vector< std::string > &basicNodes)
 
int checkAndActivateSupportSystemFailure ()
 
void copySupportSystemUnit (SupportSystemReliabilityUnit &)
 
void saveSupportSystemUnitToFile (std::ofstream &)
 
void retrieveSupportSystemUnitFromFile (std::ifstream &fin)
 
void updateFailureProbability ()
 
void updateDisplayState ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from BranchSupportSystemAction
 BranchSupportSystemAction ()
 
virtual ~BranchSupportSystemAction ()
 
void copyBranchSupportSystemAction (BranchSupportSystemAction &)
 
void saveInfoToFile (std::ostream &)
 
std::string translateMessage ()
 
void setFunctionalState (int)
 
int getFunctionalState ()
 
void saveBranchSupportSystemActionToFile (std::ofstream &)
 
void retrieveBranchSupportSystemActionFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from ControlElement
 ControlElement ()
 
virtual ~ControlElement ()
 
void setDisplayName (std::string)
 
void setCorrespondingComponentNameOfControl (std::string)
 
void setNominalTimeRequiredToActOnThisControl (double)
 
void setValueForOnOrFullyOpen (double)
 
void setValueForOffOrFullyClose (double)
 
void setValueForNeutralState (double)
 
std::string getDisplayName ()
 
std::string getCorrespondingComponentNameOfControl ()
 
double getNominalTimeRequiredToActOnThisControl ()
 
double getValueForOnOrFullyOpen ()
 
double getValueForOffOrFullyClose ()
 
double getValueForNeutralState ()
 
void readInfoFromFile (std::ifstream &)
 
void setTimeAtWhichThisControlIsActivated (double)
 
double getTimeAtWhichThisControlIsActivated ()
 
void copyControlElement (ControlElement &)
 
void setControlValue (double)
 
double getControlValue ()
 
void saveControlElementToFile (std::ofstream &)
 
void retrieveControlElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalControlElement (ControlElement &)
 
void setTimeRatioForAction (double)
 
double getTimeRatioForAction ()
 
double getAdjustedTimeRequiredToPerformTheAction ()
 
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)
 
- 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 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 initialSupportSystemState
 
DisplaySupportSystemState * correspondingSupportSystemPt
 
std::string topNode
 
std::vector< std::string > basicNodes
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 21 of file SupportSystemReliabilityUnit.h.

Constructor & Destructor Documentation

◆ SupportSystemReliabilityUnit()

SupportSystemReliabilityUnit::SupportSystemReliabilityUnit ( const std::string &  topNode)

◆ ~SupportSystemReliabilityUnit()

SupportSystemReliabilityUnit::~SupportSystemReliabilityUnit ( )
virtual

Definition at line 33 of file SupportSystemReliabilityUnit.cpp.

Member Function Documentation

◆ checkAndActivateSupportSystemFailure()

int SupportSystemReliabilityUnit::checkAndActivateSupportSystemFailure ( )

◆ copySupportSystemUnit()

void SupportSystemReliabilityUnit::copySupportSystemUnit ( SupportSystemReliabilityUnit &  _ssu)

Definition at line 70 of file SupportSystemReliabilityUnit.cpp.

References BranchSupportSystemAction::copyBranchSupportSystemAction(), StateOfActivation::copyStateOfActivation(), getInitialSupportSystemState(), and initialSupportSystemState.

Here is the call graph for this function:

◆ getBasicNodes()

const vector< string > & SupportSystemReliabilityUnit::getBasicNodes ( ) const

Definition at line 112 of file SupportSystemReliabilityUnit.cpp.

References basicNodes.

◆ getInitialSupportSystemState()

int SupportSystemReliabilityUnit::getInitialSupportSystemState ( ) const

Definition at line 41 of file SupportSystemReliabilityUnit.cpp.

References initialSupportSystemState.

Referenced by copySupportSystemUnit().

Here is the caller graph for this function:

◆ getTopNode()

const string & SupportSystemReliabilityUnit::getTopNode ( ) const

Definition at line 109 of file SupportSystemReliabilityUnit.cpp.

References topNode.

◆ retrieveSupportSystemUnitFromFile()

void SupportSystemReliabilityUnit::retrieveSupportSystemUnitFromFile ( std::ifstream &  fin)

Definition at line 83 of file SupportSystemReliabilityUnit.cpp.

References initialSupportSystemState, BranchSupportSystemAction::retrieveBranchSupportSystemActionFromFile(), and StateOfActivation::retrieveStateOfActivationFromFile().

Here is the call graph for this function:

◆ saveSupportSystemUnitToFile()

void SupportSystemReliabilityUnit::saveSupportSystemUnitToFile ( std::ofstream &  )

Definition at line 76 of file SupportSystemReliabilityUnit.cpp.

References ControlElement::getDisplayName(), initialSupportSystemState, BranchSupportSystemAction::saveBranchSupportSystemActionToFile(), and StateOfActivation::saveStateOfActivationToFile().

Here is the call graph for this function:

◆ serialize()

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

◆ setBasicNodes()

void SupportSystemReliabilityUnit::setBasicNodes ( const std::vector< std::string > &  basicNodes)

Definition at line 115 of file SupportSystemReliabilityUnit.cpp.

References basicNodes.

◆ setCorrespondingSupportSystemPt()

void SupportSystemReliabilityUnit::setCorrespondingSupportSystemPt ( DisplaySupportSystemState *  correspondingSupportSystemPt)

Definition at line 36 of file SupportSystemReliabilityUnit.cpp.

References correspondingSupportSystemPt.

◆ setInitialSupportSystemState()

void SupportSystemReliabilityUnit::setInitialSupportSystemState ( int  initialSupportSystemState)

Definition at line 45 of file SupportSystemReliabilityUnit.cpp.

References initialSupportSystemState.

◆ updateDisplayState()

void SupportSystemReliabilityUnit::updateDisplayState ( )

Definition at line 103 of file SupportSystemReliabilityUnit.cpp.

References correspondingSupportSystemPt, Probability::getProbability(), DisplaySupportSystemState::updateDisplayedSupportSystemOperationalState(), and updateFailureProbability().

Here is the call graph for this function:

◆ updateFailureProbability()

void SupportSystemReliabilityUnit::updateFailureProbability ( )

Definition at line 96 of file SupportSystemReliabilityUnit.cpp.

References Probability::setProbability().

Referenced by updateDisplayState().

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 44 of file SupportSystemReliabilityUnit.h.

Member Data Documentation

◆ basicNodes

std::vector<std::string> SupportSystemReliabilityUnit::basicNodes
private

Definition at line 65 of file SupportSystemReliabilityUnit.h.

Referenced by getBasicNodes(), serialize(), and setBasicNodes().

◆ correspondingSupportSystemPt

DisplaySupportSystemState* SupportSystemReliabilityUnit::correspondingSupportSystemPt
private

◆ initialSupportSystemState

◆ topNode

std::string SupportSystemReliabilityUnit::topNode
private

Definition at line 64 of file SupportSystemReliabilityUnit.h.

Referenced by getTopNode(), and serialize().


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