|
ADS-IDAC Engine 5.0.0
|
#include <TimerAndProbability.h>
Public Member Functions | |
| 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) |
Friends | |
| class | boost::serialization::access |
Definition at line 18 of file TimerAndProbability.h.
| TimerAndProbability::TimerAndProbability | ( | ) |
Definition at line 16 of file TimerAndProbability.cpp.
|
virtual |
Definition at line 21 of file TimerAndProbability.cpp.
| void TimerAndProbability::copyTimerAndProbability | ( | TimerAndProbability & | _tp | ) |
Definition at line 30 of file TimerAndProbability.cpp.
References Probability::copyProbability(), and Timer::copyTimer().
Referenced by BranchAction::copyBranchAction(), BranchActionObjective::copyBranchActionObjective(), BranchActionPack::copyBranchActionPack(), BranchDiagnosis::copyBranchDiagnosis(), BranchExpectedAlarmState::copyBranchExpectedAlarmState(), BranchExpectedComponentState::copyBranchExpectedComponentState(), BranchExpectedParameterDifference::copyBranchExpectedParameterDifference(), BranchExpectedParameterTrend::copyBranchExpectedParameterTrend(), BranchExpectedParameterValue::copyBranchExpectedParameterValue(), BranchExpectedSupportSystemState::copyBranchExpectedSupportSystemState(), BranchGoal::copyBranchGoal(), BranchInfoGatherMode::copyBranchInfoGatherMode(), BranchProcedureStep::copyBranchProcedureStep(), BranchScannedParameter::copyBranchScannedParameter(), BranchStrategy::copyBranchStrategy(), BranchSubGoal::copyBranchSubGoal(), BranchSupportSystemAction::copyBranchSupportSystemAction(), BranchSystemAction::copyBranchSystemAction(), and BranchSystemAlarmState::copyBranchSystemAlarmState().
| void TimerAndProbability::retrieveTimerAndProbabilityFromFile | ( | std::ifstream & | ) |
Definition at line 38 of file TimerAndProbability.cpp.
References Probability::retrieveProbabilityFromFile(), and Timer::retrieveTimerFromFile().
Referenced by BranchAction::retrieveBranchActionFromFile(), BranchActionObjective::retrieveBranchActionObjectiveFromFile(), BranchActionPack::retrieveBranchActionPackFromFile(), BranchDiagnosis::retrieveBranchDiagnosisFromFile(), BranchExpectedAlarmState::retrieveBranchExpectedAlarmStateFromFile(), BranchExpectedComponentState::retrieveBranchExpectedComponentStateFromFile(), BranchExpectedParameterDifference::retrieveBranchExpectedParameterDifferenceFromFile(), BranchExpectedParameterTrend::retrieveBranchExpectedParameterTrendFromFile(), BranchExpectedParameterValue::retrieveBranchExpectedParameterValueFromFile(), BranchExpectedSupportSystemState::retrieveBranchExpectedSupportSystemStateFromFile(), BranchGoal::retrieveBranchGoalFromFile(), BranchInfoGatherMode::retrieveBranchInfoGatherModeFromFile(), BranchProcedureStep::retrieveBranchProcedureStepFromFile(), BranchScannedParameter::retrieveBranchScannedParameterFromFile(), BranchStrategy::retrieveBranchStrategyFromFile(), BranchSubGoal::retrieveBranchSubGoalFromFile(), BranchSupportSystemAction::retrieveBranchSupportSystemActionFromFile(), BranchSystemAction::retrieveBranchSystemActionFromFile(), and BranchSystemAlarmState::retrieveBranchSystemAlarmStateFromFile().
| void TimerAndProbability::saveTimerAndProbabilityToFile | ( | std::ofstream & | ) |
Definition at line 34 of file TimerAndProbability.cpp.
References Probability::saveProbabilityToFile(), and Timer::saveTimerToFile().
Referenced by BranchActionObjective::saveBranchActionObjectiveToFile(), BranchActionPack::saveBranchActionPackToFile(), BranchAction::saveBranchActionToFile(), BranchDiagnosis::saveBranchDiagnosisToFile(), BranchExpectedAlarmState::saveBranchExpectedAlarmStateToFile(), BranchExpectedComponentState::saveBranchExpectedComponentStateToFile(), BranchExpectedParameterDifference::saveBranchExpectedParameterDifferenceToFile(), BranchExpectedParameterTrend::saveBranchExpectedParameterTrendToFile(), BranchExpectedParameterValue::saveBranchExpectedParameterValueToFile(), BranchExpectedSupportSystemState::saveBranchExpectedSupportSystemStateToFile(), BranchGoal::saveBranchGoalToFile(), BranchInfoGatherMode::saveBranchInfoGatherModeToFile(), BranchProcedureStep::saveBranchProcedureStepToFile(), BranchScannedParameter::saveBranchScannedParameterToFile(), BranchStrategy::saveBranchStrategyToFile(), BranchSubGoal::saveBranchSubGoalToFile(), BranchSupportSystemAction::saveBranchSupportSystemActionToFile(), BranchSystemAction::saveBranchSystemActionToFile(), and BranchSystemAlarmState::saveBranchSystemAlarmStateToFile().
|
inline |
Definition at line 31 of file TimerAndProbability.h.
| void TimerAndProbability::setTimerAndProbability | ( | double | _time, |
| double | _probability | ||
| ) |
Definition at line 25 of file TimerAndProbability.cpp.
References Probability::setProbability(), Timer::setRemainingTime(), and Timer::setTotalTimeRequired().
Referenced by Operator::ActiveFetchAlarmStateInfo(), Operator::ActiveFetchComponentStateInfo(), Operator::ActiveFetchParameterValueInfo(), Operator::ActiveFetchSupportSystemStateInfo(), ExpectationORUnit::assessExpectation(), HWReliabilityModule::checkAndActiveComponentFailure(), SupportSystemReliabilityModule::checkAndActiveSupportSystemFailure(), InitiatingEventController::checkAndExecuteInitiatingEvent(), DiagnoseInvestigator::CheckforPotentialProcedureBranching(), ProcedureStepUnit::executeAction(), ProcedureStep::executeInstinctiveResponseProcedureTransfer(), ManeuverActionUnit::executeManeuverControl(), ProcedureStepUnit::executeNonResponseAction(), ControlPanel::executeRequestToPlant(), Operator::generateInfoGatherModeBranch(), OperatorAT::infoChunking(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), OperatorAT::oneThroughProcessForBlockI(), OperatorDM::oneThroughProcessForBlockI(), ProcedureStep::oneThroughProcessForProcedureStep(), Operator::performAMentalProcedure(), OperatorDM::performFollowProcedureStrategy(), OperatorDM::performRecoveryAction(), OperatorAT::selectGoal(), OperatorCT::selectGoal(), OperatorDM::selectGoal(), OperatorAT::selectStrategy(), OperatorDM::selectStrategy(), and DiagnoseInvestigator::TriggerBranchingWhenClaimADiagnose().
|
friend |
Definition at line 29 of file TimerAndProbability.h.