DiaDes  0.1
DIAgnosis of Discrete-Event System
Diagnosis.hh
Go to the documentation of this file.
1 #ifndef __DIADES_PETRI_DIAGNOSIS__HH__
2 #define __DIADES_PETRI_DIAGNOSIS__HH__
3 
4 
5 #include"SystemPattern.hh"
6 #include"Observations.hh"
7 
8 namespace Diades
9 {
10  namespace Petri
11  {
12 
13  class Diagnosis : public SystemPattern
14  {
15  private:
16  vector<Marking> _rightFinalMarkings;
20 
21  public:
22  Diagnosis(const System & system,
23  const Pattern & pattern,
24  const Observations & observations);
25 
26 
27 
28 
29 
30  private:
31 
32 
33  void
34  computeSeltFormulas(const System & system,
35  const Pattern & pattern,
36  const Observations & observations);
37 
38 
39  public:
40 
41  const string &
43  {
44  return _faultySeltFormula;
45  }
46 
47  const string &
49  {
50  return _okSeltFormula;
51  }
52 
53  const string &
55  {
57  }
58 
59 
60 
61 
62  };
63 
64 
65 
66  };
67 };
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 #endif
void computeSeltFormulas(const System &system, const Pattern &pattern, const Observations &observations)
const string & getFaultySeltFormula() const
Definition: Diagnosis.hh:42
const string & getOkSeltFormula() const
Definition: Diagnosis.hh:48
string _inconsistencySeltFormula
Definition: Diagnosis.hh:19
Namespace of the Diades project.
Diagnosis(const System &system, const Pattern &pattern, const Observations &observations)
vector< Marking > _rightFinalMarkings
Definition: Diagnosis.hh:16
const string & getInconsistencySeltFormula() const
Definition: Diagnosis.hh:54