|
|
||||||
|
diag_languagediagnosis.h
Go to the documentation of this file.
2 Functions to check a system's diagnosability with respect to a specification automaton and compute a language-diagnoser.
36 extern FAUDES_API bool IsLanguageDiagnosableX(const System& rGen, const System& rSpec, std::string& rReportString);
61 Output variable for the reachability. Maps occurring observable events to the reachable generator states and a label that contains information about specification violations.
63 extern FAUDES_API void ComputeReachability(const System& rGen, const EventSet& rUnobsEvents, Idx State,
67 Auxiliary function for ComputeReachability(const System&, const EventSet&, Idx State, std::map<Idx,std::multimap< Idx,DiagLabelSet> >&). Is recursively called for every occurring state on the trace (that consists of arbitrarily many unobservable events followed by one observable event).
77 Output variable for the reachability. Maps occurring observable events to the reachable generator states and a label that contains information about specification violations.
79 void ComputeReachabilityRecursive(const System& rGen, const EventSet& rUnobsEvents, Idx State, StateSet done,
97 VerifierState(Idx state1 = 0, Idx state2 = 0, Idx state3 = 0, VerifierStateLabel label = NORMAL){ mSpec1State = state1; mSpec2State = state2; mPlantState = state3; mLabel = label; }
118 extern FAUDES_API bool IsLanguageDiagnosable(const System& rGen, const System rSpec, std::string& rReportString);
145 extern FAUDES_API void LoopPreservingObserver(const System& rGen, const EventSet& rInitialHighAlph, EventSet& rHighAlph);
149 /** rec_ComputeLoopPreservingObserver(rGen, rInitialHighAlph, rHighAlph, rDdffVector, numberEvents, currentNumberEvents, currentLocation, hosenEvents) */
150 extern FAUDES_API bool rec_ComputeLoopPreservingObserver(const System& rGen, const EventSet& rInitialHighAlph, EventSet& rHighAlph,
151 const std::vector<Idx>& rDdffVector, Idx numberEvents, Idx currentNumberEvents, Idx currentLocation, EventSet chosenEvents);
167 extern FAUDES_API void LanguageDiagnoser(const System& rGen, const System& rSpec, Diagnoser& rDiagGen);
Provides the structure and methods to build and handle diagnosers. Definition: diag_generator.h:26 Includes all libFAUDES headers, no plugins. Includes debugging to diagnosis plug-in. Functions to check a system's diagnosability with respect to failure events (diagnosability and I-dia... Structure of diagnosers and methods to handle them. void LanguageDiagnoser(const System &rGen, const System &rSpec, Diagnoser &rDiagGen) Compute a standard diagnoser from an input generator and a specification. Definition: diag_languagediagnosis.cpp:275 void LoopPreservingObserver(const System &rGen, const EventSet &rInitialHighAlph, EventSet &rHighAlph) Computes a loop-preserving observer with minimal state size of the abstraction. Definition: diag_languagediagnosis.cpp:687 FAUDES_API bool IsLanguageDiagnosableX(const System &rGen, const System &rSpec, std::string &rReportString) Tests a system's diagnosability with respect to a given specification. bool IsLoopPreservingObserver(const System &rGen, const EventSet &rHighAlph) Verifies a loop-preserving observer. Definition: diag_languagediagnosis.cpp:645 TcGenerator< AttributeVoid, AttributeVoid, AttributeCFlags, AttributeVoid > System Convenience typedef for std System. Definition: cfl_cgenerator.h:913 bool IsLanguageDiagnosable(const System &rGen, const System &rSpec) Function definition for run-time interface. Definition: diag_languagediagnosis.cpp:20 TdiagGenerator< AttributeFailureTypeMap, AttributeDiagnoserState, AttributeCFlags, AttributeVoid > Diagnoser Definition: diag_generator.h:197 void ComputeReachability(const System &rGen, const EventSet &rUnobsEvents, const EventSet &rFailures, Idx State, const AttributeFailureTypeMap &rAttrFTMap, map< Idx, multimap< Idx, DiagLabelSet > > &rReachabilityMap) Definition: diag_eventdiagnosis.cpp:703 void ComputeReachabilityRecursive(const System &rGen, const EventSet &rUnobsEvents, const EventSet &rFailures, Idx State, const AttributeFailureTypeMap &rAttrFTMap, map< Idx, multimap< Idx, DiagLabelSet > > &rReachabilityMap, const DiagLabelSet FToccurred) Definition: diag_eventdiagnosis.cpp:729 bool rec_ComputeLoopPreservingObserver(const System &rGen, const EventSet &rInitialHighAlph, EventSet &rHighAlph, const std::vector< Idx > &rDiffVector, Idx numberEvents, Idx currentNumberEvents, Idx currentLocation, EventSet chosenEvents) rec_ComputeLoopPreservingObserver(rGen, rInitialHighAlph, rHighAlph, rDdffVector, numberEvents,... Definition: diag_languagediagnosis.cpp:715 void ComputeGobs(const System &rOrigGen, const string &rFailureType, const EventSet &rFailureEvents, Diagnoser &rGobs) Definition: diag_eventdiagnosis.cpp:423 Methods to verify the obsrver condition for natural projections. Definition: diag_languagediagnosis.h:90 bool operator<(const VerifierState &rOther) const Definition: diag_languagediagnosis.h:99 VerifierState(Idx state1=0, Idx state2=0, Idx state3=0, VerifierStateLabel label=NORMAL) Definition: diag_languagediagnosis.h:97 libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |