DiaDes  0.1
DIAgnosis of Discrete-Event System
TimeDecomposedTransition.hh
Go to the documentation of this file.
1 
2 /*
3  * @file: TimeDecomposedTransition.hh
4  * @author: Yannick PencolĂ©
5  *
6  * @date 22 March 2018, 13:11
7  */
8 
9 #ifndef __DIADES__PETRI__TIMEDECOMPOSEDTRANSITION__HH__
10 #define __DIADES__PETRI__TIMEDECOMPOSEDTRANSITION__HH__
11 
12 #include <diades/utils/Interval.hh>
14 
15 
16 namespace Diades
17 {
18  namespace Petri
19  {
20 
21  class LabelledPrioritizedTimeNet;
22 
29  {
30  private:
35  bool _semiopen;
36 
39 
40  public:
54  Transition & t);
55 
56 
62 
68  _ts(dt._ts),
69  _to(dt._to),
70  _te(dt._te),
71  _tna(dt._tna),
72  _semiopen(dt._semiopen),
73  _nonTriggered(dt._nonTriggered),
74  _timeIn(dt._timeIn)
75  {
76  }
77 
122  void normalDecomposition(LabelledPrioritizedTimeNet & net,
123  Transition & t,
124  const Diades::Utils::Interval & interval);
125 
126 
127 
128 
154  void semiOpenDecomposition(LabelledPrioritizedTimeNet & net,
155  Transition & t,
156  const Diades::Utils::Interval & interval);
157 
165  const Transition &
166  clockStart() const
167  {
168  return _ts;
169  }
170 
178  const Transition &
179  event() const
180  {
181  return _te;
182  }
183 
191  const Transition &
192  timeout() const
193  {
194  return _to;
195  }
196 
206  const Transition &
207  nonAdmissible() const
208  {
209  return _tna;
210  }
211 
218  bool
219  isSemiOpen() const
220  {
221  return _semiopen;
222  }
223 
229  const Place &
230  notTriggered() const
231  {
232  return _nonTriggered;
233  }
234 
239  const Place &
240  timeIn() const
241  {
242  return _timeIn;
243  }
244 
245  };
246  };
247 };
248 
249 
250 
251 #endif /* __DIADES__PETRI__TIMEDECOMPOSEDTRANSITION_HH__ */
252 
TimeDecomposedTransition(LabelledPrioritizedTimeNet &net, Transition &t)
Diades::Graph::Node Transition
Definition: BoundedNet.hh:31
Diades::Graph::Node Place
Definition: BoundedNet.hh:24
TimeDecomposedTransition(TimeDecomposedTransition &&dt)
Namespace of the Diades project.