← Documentation
ADS-IDAC Engine 5.0.0
OperatorDM Class Reference

#include <OperatorDM.h>

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

Public Member Functions

 OperatorDM ()
 
virtual ~OperatorDM ()
 
void oneThroughProcessForBlockD ()
 
bool selectGoal ()
 
bool selectStrategy ()
 
void identifyRelevantInformation ()
 
void oneThroughProcessForBlockI ()
 
void receiveNewInformation ()
 
int infoChunking ()
 
bool performFollowProcedureStrategy ()
 
void copyOperatorDMToRestartInfo (OperatorDM &)
 
void copyOperatorDMFromRestartInfo (OperatorDM &)
 
void copyOperatorDMFromRestartInfoMultiProcessor (OperatorDM &)
 
void clearOperatorDMForRestart ()
 
void clearOperatorDMFromRestartInfo ()
 
void clearOperatorDMFinal ()
 
void clearOperatorDMFromRestartNodeInfoMultiProcessors ()
 
void scanControlPanel ()
 
bool performRecoveryAction ()
 
void saveOperatorDMToFile (std::ofstream &)
 
void retrieveOperatorDMFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Operator
void PrintMessage (std::string)
 
void ActiveFetchAlarmStateInfo (std::string, int)
 
void ActiveFetchComponentStateInfo (std::string, int)
 
void ActiveFetchSupportSystemStateInfo (std::string, int)
 
void ActiveFetchParameterValueInfo (std::string, int)
 
 Operator ()
 
virtual ~Operator ()
 
void setTypeOfOperator (int)
 
int getTypeOfOperator ()
 
void setMentalProcedurePriorityThreshold (int)
 
int getMentalProcedurePriorityThreshold ()
 
void biasFilter ()
 
void quantificationFilter ()
 
void initiationForSimulation ()
 
void seedKnowledgeBaseFromMaster ()
 
void seedDiagnosisMatrixFromMaster ()
 
void setPauseActivity (bool)
 
bool getPauseActivity ()
 
void setNewBranchGenerated (bool)
 
bool getNewBranchGenerated ()
 
void setPauseMentalProcedure (bool)
 
bool getPauseMentalProcedure ()
 
void setAbnormalSignalPerceived (bool)
 
bool getAbnormalSignalPerceived ()
 
void setBlockTroubleshooting (bool)
 
bool getBlockTroubleshooting ()
 
void setBlockProcedureUse (bool)
 
bool getBlockProcedureUse ()
 
void setAbnormalSignalThreshold (double)
 
double getAbnormalSignalThreshold ()
 
void setSkipProcedureStep (bool)
 
bool getSkipProcedureStep ()
 
void setSkipInstinctiveResponseStep (bool)
 
bool getSkipInstinctiveResponseStep ()
 
void setScanQueueLimit (int)
 
int getScanQueueLimit ()
 
void copyOperatorToRestartInfo (Operator &)
 
void copyOperatorFromRestartInfo (Operator &)
 
void copyOperatorFromRestartInfoMultiProcessor (Operator &)
 
void clearOperatorForRestart ()
 
void clearOperatorFromRestartInfo ()
 
void clearOperatorFinal ()
 
void clearOperatorFromRestartNodeInfoMultiProcessors ()
 
void setThresholdValueForHWKBConfidence (double)
 
double getThresholdValueForHWKBConfidence ()
 
void setSkipActionThreshold (double)
 
double getSkipActionThreshold ()
 
void setSkipNonResponseThreshold (double)
 
double getSkipNonResponseThreshold ()
 
void setNominalCommunicationTime (double)
 
double getNominalCommunicationTime ()
 
void setTroubleshootingProbability (double)
 
double getTroubleshootingProbability ()
 
void setProcedureUseProbability (double)
 
double getProcedureUseProbability ()
 
void setActionTimeMultiplier (double)
 
double getActionTimeMultiplier ()
 
void setInfoGatherModeBranchGenerated (bool)
 
bool getInfoGatherModeBranchGenerated ()
 
void setUseOfOldInfoProbability (double)
 
double getUseOfOldInfoProbabiility ()
 
int generateInfoGatherModeBranch ()
 
bool checkAndActivateHWKB ()
 
void saveOperatorToFile (std::ofstream &)
 
void retrieveOperatorFromFile (std::ifstream &)
 
void checkCompletenessOfSystemDecomposition (int)
 
bool performAMentalProcedure (int, std::string, std::string)
 
bool performReasoningStrategy ()
 
void checkAndExecuteManeuverAction ()
 
void checkAndResetProcedureStep (BranchProcedureStep *)
 
void interruptAllMentalProcedures ()
 
void interruptLowPriorityMentalProcedures ()
 
double checkItemRelevanceToCurrentDiagnosis (std::string)
 
void updateEvidenceForAllPSFs ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Attributes inherited from Operator
std::unique_ptr< ReasonMachine > m_RM
 
ShortTermMemory memory
 
KB knowledge_base
 
KBScannedParameters scanned_indicators
 
EventSymptomMatrix diagnosis_matrix
 
SPDS safety_parameters
 
TimeConstrainedModule time_constrained_load
 
InformationLoadModule information_load
 
DiagnosisActionModule event_actions
 
ManeuverAction maneuver_action
 
HumanFailureEventsBBN hfe_bbn
 

Detailed Description

Definition at line 23 of file OperatorDM.h.

Constructor & Destructor Documentation

◆ OperatorDM()

OperatorDM::OperatorDM ( )

Definition at line 22 of file OperatorDM.cpp.

References sim::Operator::ODM, and Operator::setTypeOfOperator().

Here is the call graph for this function:

◆ ~OperatorDM()

OperatorDM::~OperatorDM ( )
virtual

Definition at line 26 of file OperatorDM.cpp.

Member Function Documentation

◆ clearOperatorDMFinal()

void OperatorDM::clearOperatorDMFinal ( )

Definition at line 1315 of file OperatorDM.cpp.

References Operator::clearOperatorFinal().

Referenced by main().

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

◆ clearOperatorDMForRestart()

void OperatorDM::clearOperatorDMForRestart ( )

Definition at line 1309 of file OperatorDM.cpp.

References Operator::clearOperatorForRestart().

Referenced by AdsidacCallback::initiationForRestart().

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

◆ clearOperatorDMFromRestartInfo()

void OperatorDM::clearOperatorDMFromRestartInfo ( )

Definition at line 1312 of file OperatorDM.cpp.

References Operator::clearOperatorFromRestartInfo().

Referenced by RestartNodeInfo::~RestartNodeInfo().

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

◆ clearOperatorDMFromRestartNodeInfoMultiProcessors()

void OperatorDM::clearOperatorDMFromRestartNodeInfoMultiProcessors ( )

Definition at line 1318 of file OperatorDM.cpp.

References Operator::clearOperatorFromRestartNodeInfoMultiProcessors().

Here is the call graph for this function:

◆ copyOperatorDMFromRestartInfo()

void OperatorDM::copyOperatorDMFromRestartInfo ( OperatorDM &  _operator)

Definition at line 1302 of file OperatorDM.cpp.

References Operator::copyOperatorFromRestartInfo().

Referenced by AdsidacCallback::initiationForRestart().

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

◆ copyOperatorDMFromRestartInfoMultiProcessor()

void OperatorDM::copyOperatorDMFromRestartInfoMultiProcessor ( OperatorDM &  _operator)

Definition at line 1305 of file OperatorDM.cpp.

References Operator::copyOperatorFromRestartInfoMultiProcessor().

Here is the call graph for this function:

◆ copyOperatorDMToRestartInfo()

void OperatorDM::copyOperatorDMToRestartInfo ( OperatorDM &  _operator)

Definition at line 1299 of file OperatorDM.cpp.

References Operator::copyOperatorToRestartInfo().

Referenced by RestartNodeInfo::saveRestartNodeInfo().

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

◆ identifyRelevantInformation()

void OperatorDM::identifyRelevantInformation ( )

Definition at line 428 of file OperatorDM.cpp.

References BranchUnit::action, BranchUnit::action_objective, BranchUnit::action_pack, BranchUnit::alarm_state, sim::Source::Bypass, Operator::checkAndResetProcedureStep(), SimulationContext::Communication_place, BranchUnit::component_state, BranchUnit::diagnosis, sim::Strategy::FollowInstruction, sim::Strategy::FollowProcedure, g_sim, BranchUnit::goal, sim::Decision::Goal, sim::Strategy::InductiveDeductive, BranchUnit::info_gather_mode, sim::Branch::InfoGatherMode, BranchUnit::instinctive_response_procedure, sim::Strategy::InstinctiveResponse, sim::Goal::MaintainGlobalSafetyMargin, Operator::memory, BranchUnit::mental_belief, CommunicationPlace::new_alarm, ShortTermMemory::new_info, sim::None, sim::Operator::ODM, sim::Operator::OdmScan, sim::State::OldInfo, BranchUnit::parameter_difference, BranchUnit::parameter_trend, BranchUnit::parameter_value, sim::ControlAction::ParameterScan, BranchUnit::procedure_step, sim::Branch::ProcedureXfr, BranchUnit::scanned_parameter, Operator::setBlockProcedureUse(), Operator::setBlockTroubleshooting(), ShortTermMemory::setInfoGatherMode(), Operator::setPauseActivity(), Operator::setPauseMentalProcedure(), Operator::setSkipInstinctiveResponseStep(), Operator::setSkipProcedureStep(), sim::State::Skip, BranchUnit::strategy, sim::Decision::Strategy, BranchUnit::subgoal, BranchUnit::support_system_state, and sim::Goal::TroubleShoot.

Referenced by receiveNewInformation().

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

◆ infoChunking()

int OperatorDM::infoChunking ( )

Definition at line 904 of file OperatorDM.cpp.

References BranchUnit::action, InfoChunk::action, BranchUnit::action_objective, InfoChunk::action_objective, BranchUnit::action_pack, InfoChunk::action_pack, sim::State::Active, BranchRecord::addAnEndState(), ShortTermMemory::addNewInfoChunkMentalForTheDiagnosis(), InfoChunk::addNewInstinctiveResponseProcedure(), AnalysisInfoContainer::addRecord(), KBScannedParameters::addScannedAlarm(), KBScannedParameters::addScannedComponent(), KBScannedParameters::addScannedParameter(), KBScannedParameters::addScannedSupportSystem(), BranchUnit::alarm_state, sim::Comm::AlarmState, SimulationContext::All_procedure, SimulationContext::Aux_info, SimulationContext::Branch_center, ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAlarm(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedComponentState(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedParameterValue(), ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedSupportSystemState(), InfoChunk::checkExistanceOfAction(), InfoChunk::checkExistanceOfAnInstinctiveResponseProcedure(), InfoChunk::checkExistanceOfAProcedure(), InfoChunk::checkExistanceOfMentalBelief(), InfoChunk::checkExistanceOfPerceivedAlarms(), InfoChunk::checkExistanceOfPerceivedComponentState(), InfoChunk::checkExistanceOfPerceivedParameterValue(), InfoChunk::checkExistanceOfPerceivedSupportSystemState(), SimulationContext::Command_handler, BranchUnit::component_state, sim::Comm::ComponentState, SimulationContext::config, DecisionAction::copyDecisionAction(), ExpectedMentalBelief::copyExpectedMentalBelief(), BranchUnit::diagnosis, InfoChunk::diagnosis, CommandControlCenter::displayInformation(), sim::State::Done, ShortTermMemory::failCurrentDiagnosisAndActivateAPausedDiagnosis(), sim::State::Failed, g_sim, DecisionAction::getActionName(), AlarmElement::getAlarmName(), ControlElement::getControlValue(), DisplayElement::getDisplayName(), BranchRecord::getIDOfRecentGeneratedBranch(), DecisionProcedureStep::getLastProcedureName(), MentalAlarm::getObservedAlarmState(), MentalComponentState::getObservedComponentState(), MentalParameterValue::getObservedParameterValue(), MentalSupportSystemState::getObservedSupportSystemState(), DecisionProcedureStep::getProcedureName(), KB::getProcedureNameOfHWDiagnosis(), StateOfActivation::getStateOfActivation(), DecisionProcedureStep::getStepName(), KB::getStepNameOfHWDiagnosis(), ShortTermMemory::getWorkingMemory(), BranchUnit::goal, InfoChunk::goal, BranchUnit::instinctive_response_procedure, InfoChunk::instinctive_response_procedure, KB::KBcheckHardWiredMatchForAlarmState(), KB::KBcheckHardWiredMatchForComponentState(), KB::KBcheckHardWiredMatchForControl(), KB::KBcheckHardWiredMatchForMentalBelief(), KB::KBcheckHardWiredMatchForParameterValue(), KB::KBcheckHardWiredMatchForProcedureActivity(), KB::KBcheckHardWiredMatchForSupportSystemState(), Operator::knowledge_base, Operator::m_RM, Operator::memory, BranchUnit::mental_belief, InfoChunk::mental_belief, CommunicationPlace::new_alarm, ShortTermMemory::new_info, NoKB, sim::None, sim::Operator::OCT, sim::Operator::ODM, BranchUnit::parameter_difference, BranchUnit::parameter_value, sim::Comm::ParameterValue, InfoChunk::perceived_alarms, InfoChunk::perceived_component_state, ShortTermMemory::perceived_info, InfoChunk::perceived_parameter_value, InfoChunk::perceived_support_system_state, InfoChunk::pointToTheNewAction(), InfoChunk::pointToTheNewActionObjective(), InfoChunk::pointToTheNewActionPack(), InfoChunk::pointToTheNewGoal(), InfoChunk::pointToTheNewInstinctiveResponseProcedureStep(), InfoChunk::pointToTheNewProcedureStep(), InfoChunk::pointToTheNewStrategy(), InfoChunk::pointToTheNewSubGoal(), Procedures::procedure_map, BranchUnit::procedure_step, InfoChunk::procedure_step, r5pars_, SimConfig::rm_cycle_enabled, Operator::scanned_indicators, BranchUnit::scanned_parameter, BranchEndState::setConsequenceDescription(), MentalAlarm::setObservedAlarmState(), MentalComponentState::setObservedComponentState(), MentalParameterValue::setObservedParameterValue(), MentalSupportSystemState::setObservedSupportSystemState(), StateOfActivation::setStateOfActivation(), AlarmElement::setTimeAtWhichThisAlarmIsActivated(), MentalInfo::setTimeAtWhichThisInfoIsPerceived(), BranchEndState::setTypeOfConsequence(), sim::State::Skip, BranchUnit::strategy, InfoChunk::strategy, BranchUnit::subgoal, InfoChunk::subgoal, sim::State::Succeed, BranchUnit::support_system_state, sim::Comm::SupportSystemState, and sim::State::Waiting.

Referenced by oneThroughProcessForBlockI().

Here is the caller graph for this function:

◆ oneThroughProcessForBlockD()

◆ oneThroughProcessForBlockI()

void OperatorDM::oneThroughProcessForBlockI ( )

Definition at line 800 of file OperatorDM.cpp.

References InformationLoadModule::addInformationLoadData(), BranchRecord::addScannedParameter(), SimulationContext::Branch_center, InformationLoadModule::calculateAverageInformationLoadPIFValue(), ShortTermMemory::calculatePriorityAndSetStateOfActivation(), Operator::checkAndActivateHWKB(), Operator::checkAndExecuteManeuverAction(), InfoChunk::checkExistanceOfMentalBelief(), KBScannedParameters::checkIfParameterInQueue(), TimeConstrainedModule::determineLimitingTimeConstrainedParameter(), Operator::diagnosis_matrix, g_sim, Operator::generateInfoGatherModeBranch(), EventSymptomMatrix::getAbnormalConfidence(), Operator::getAbnormalSignalPerceived(), InfoChunk::getCurrentGoal(), ShortTermMemory::getCurrentGoal(), HumanFailureEventsBBN::getGatherNewInfoFailureProbability(), Operator::getPauseActivity(), Operator::getPauseMentalProcedure(), StateOfActivation::getStateOfActivation(), ConvertToString::getString(), TimeConstrainedModule::getTimeConstrainedPIFValue(), ShortTermMemory::getWorkingMemory(), Operator::hfe_bbn, infoChunking(), Operator::information_load, Operator::interruptLowPriorityMentalProcedures(), KB::KBcalculateHardWiredConfidence(), Operator::knowledge_base, sim::Goal::MaintainGlobalSafetyMargin, Operator::memory, sim::Goal::MonitorAbnormal, sim::None, sim::Goal::NormalOp, sim::Operator::ODM, TimeConstrainedModule::operatorUpdateTimeConstrainedValuesWithGoal(), sim::ControlAction::ParameterScan, sim::Comm::ParameterValue, ShortTermMemory::perceived_info, r5pars_, receiveNewInformation(), Operator::safety_parameters, Operator::scanned_indicators, Operator::setAbnormalSignalPerceived(), KBElement::setInfoName(), Operator::setNewBranchGenerated(), Operator::setPauseActivity(), Operator::setPauseMentalProcedure(), DecisionScannedParameter::setScanPriority(), Communication::setSenderAndReceiver(), TimerAndProbability::setTimerAndProbability(), Communication::setTypeOfPauseActivity(), DecisionScannedParameter::setTypeOfScannedParameter(), sim::State::Succeed, Operator::time_constrained_load, SimulationContext::Translator, sim::Goal::TroubleShoot, SPDS::updateAllSPDSValueAndRate(), and EventSymptomMatrix::updateBothRationalConfidence().

Referenced by AdsidacCallback::onEvaluationPoint().

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

◆ performFollowProcedureStrategy()

bool OperatorDM::performFollowProcedureStrategy ( )

Definition at line 326 of file OperatorDM.cpp.

References sim::State::Active, BranchRecord::addAnEndState(), BranchRecord::addProcedureStep(), SimulationContext::All_procedure, SimulationContext::Branch_center, sim::State::Failed, sim::Strategy::FollowProcedure, g_sim, InfoChunk::getCurrentProcedureStepPtr(), Procedures::getEntryProcedureName(), Procedures::getEntryStepName(), DecisionProcedureStep::getProcedureName(), HumanFailureEventsBBN::getProcedureStepFailureProbability(), Operator::getSkipActionThreshold(), Operator::getSkipNonResponseThreshold(), Operator::getSkipProcedureStep(), StateOfActivation::getStateOfActivation(), InfoChunk::getStateOfAProcedureStep(), DecisionProcedureStep::getStepName(), Operator::hfe_bbn, Operator::memory, NoKB, sim::None, sim::Operator::ODM, ProcedureStep::oneThroughProcessForProcedureStep(), sim::State::Pause, ShortTermMemory::perceived_info, Procedures::procedure_map, r5pars_, BranchEndState::setConsequenceDescription(), Operator::setPauseActivity(), DecisionProcedureStep::setProcedureName(), Communication::setSenderAndReceiver(), Operator::setSkipProcedureStep(), StateOfActivation::setStateOfActivation(), DecisionProcedureStep::setStepName(), TimerAndProbability::setTimerAndProbability(), BranchEndState::setTypeOfConsequence(), and Communication::setTypeOfPauseActivity().

Referenced by oneThroughProcessForBlockD().

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

◆ performRecoveryAction()

◆ receiveNewInformation()

void OperatorDM::receiveNewInformation ( )

Definition at line 897 of file OperatorDM.cpp.

References Operator::biasFilter(), ShortTermMemory::clearNewInfo(), identifyRelevantInformation(), and Operator::memory.

Referenced by oneThroughProcessForBlockI().

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

◆ retrieveOperatorDMFromFile()

void OperatorDM::retrieveOperatorDMFromFile ( std::ifstream &  )

Definition at line 1381 of file OperatorDM.cpp.

References SimulationContext::Branch_center, g_sim, NoKB, r5pars_, Operator::retrieveOperatorFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Here is the call graph for this function:

◆ saveOperatorDMToFile()

void OperatorDM::saveOperatorDMToFile ( std::ofstream &  )

Definition at line 1377 of file OperatorDM.cpp.

References Operator::saveOperatorToFile().

Here is the call graph for this function:

◆ scanControlPanel()

◆ selectGoal()

◆ selectStrategy()

◆ serialize()

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

Definition at line 50 of file OperatorDM.h.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 48 of file OperatorDM.h.


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