DiaDes  0.1
DIAgnosis of Discrete-Event System
Observations.hh
Go to the documentation of this file.
1 
9 #ifndef __DIADES__PETRI__OBSERVATIONS__HH__
10 #define __DIADES__PETRI__OBSERVATIONS__HH__
11 
12 #include <diades/petri/System.hh>
13 #include <diades/petri/Marking.hh>
14 
15 namespace Diades
16 {
17  namespace Petri
18  {
19 
20  class Observations : public DdNet
21  {
22  public:
23 
25  {
26  }
27  Observations(const vector<std::string> & evtSequence, unsigned cycle = 1);
28 
29  virtual ~Observations(){}
30 
31 
32  void observations2Dot(const string & fileName) const;
33 
34 
43  virtual Transition newTransition(const set<Place> & pre,
44  const set<Place> & post,
45  const string & name,
46  Event e);
47 
48  };
49  }
50 }
51 #endif /* OBSERVATIONS_HH */
52 
Diades::Graph::Node Transition
Definition: BoundedNet.hh:31
PetriEventManager::EventId Event
Definition: LabelledNet.hh:39
virtual Transition newTransition(const set< Place > &pre, const set< Place > &post, const string &name, Event e)
Namespace of the Diades project.
const string & name() const
Definition: BoundedNet.hh:388
void observations2Dot(const string &fileName) const