DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <FaultPattern.hh>
Classes | |
class | EventOccurrence |
Public Member Functions | |
FaultPattern () | |
set of events involved in this pattern More... | |
virtual | ~FaultPattern () |
virtual void | pattern2Dot (const string &filename) |
virtual const Graph::Graph & | graph () const |
virtual bool | isFinal (Node s) const |
bool | containsEvent (Event event) const |
virtual Node | initial () const |
virtual const EventOccurrence & | eventOccurrenceOf (Edge edge) const |
Protected Attributes | |
Graph::Graph | _graph |
EdgeMap< EventOccurrence > | _edgeMap |
the constraint graph More... | |
Node | _initialNode |
the occurrence of Event associated to each Edge of the Graph More... | |
NodeMap< int > | _finalNodes |
initial state of the pattern graph More... | |
unordered_set< Event > | _events |
set of final states of the constraint graph, status == 1 (final) == 0 (non-final) More... | |
implements fault patterns. A fault pattern is a partial-order of Event occurrences that is considered as a Fault in a system. This class is partially inspired by the work of [Jeron 06] (pattern) and [Pencole 06] (extended automaton).
[Jeron 06]: Supervision Patterns in Discrete Event Systems Diagnosis, T. Jeron, H. Marchand, S. Pinchinat, M.-O. Cordier, DX'06.
[Pencole 06]: Yannick Pencol�, Dmitry Kamenetsky, Anika Schumann Towards low-cost diagnosis of component-based systems, 6th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Process (SAFEPROCESS), Beijing, P.R. China August 29-September 1 ,2006.
Class tested on Monday August 3rd 2009
test the containEvents method
add the notion of strict precedence
Definition at line 39 of file FaultPattern.hh.
Diades::Automata::FaultPattern::FaultPattern | ( | ) |
set of events involved in this pattern
Default constructor. Defines an empty pattern (one graph node only)
|
inlinevirtual |
Destructor
Definition at line 154 of file FaultPattern.hh.
|
inline |
event | an Event |
Definition at line 190 of file FaultPattern.hh.
|
inlinevirtual |
Definition at line 206 of file FaultPattern.hh.
|
inlinevirtual |
Definition at line 170 of file FaultPattern.hh.
|
inlinevirtual |
Definition at line 198 of file FaultPattern.hh.
|
inlinevirtual |
s | a Node of the underlying Graph |
Definition at line 180 of file FaultPattern.hh.
References Diades::Graph::Node::owner(), and Diades::Graph::Node::valid().
|
virtual |
Export the pattern in dot format
filename |
|
protected |
the constraint graph
Definition at line 140 of file FaultPattern.hh.
|
protected |
set of final states of the constraint graph, status == 1 (final) == 0 (non-final)
Definition at line 143 of file FaultPattern.hh.
|
protected |
initial state of the pattern graph
Definition at line 142 of file FaultPattern.hh.
|
protected |
Definition at line 139 of file FaultPattern.hh.
|
protected |
the occurrence of Event associated to each Edge of the Graph
Definition at line 141 of file FaultPattern.hh.