7
#include "transition.h"
11
class KTransition: public Vector<Subject *> {
14
bool InputTransition; /* was: Resett . -- The function has been
15
extended (from indicating whether ``reset{t}'' should
16
be included into the transition to
17
whether the transition is an input transition
18
inserted by GenerateEvents() ). */
19
KTransition(unsigned c);
21
bool operator==(const KTransition &comp) const {
22
return InputTransition == comp.InputTransition
24
&& Vector<Subject *>::operator==(comp);
26
bool operator< (const KTransition &comp) const;
27
bool operator> (const KTransition &comp) const {
30
bool operator<=(const KTransition &comp) const {
31
return ! (comp < *this);
33
bool operator>=(const KTransition &comp) const {
34
return ! (*this < comp);
36
bool operator!=(const KTransition &comp) const {
37
return ! (comp == *this);
39
string GetGuards() const;
40
string GetEvents() const;
41
string GetClockResets() const;
44
unsigned IsClockReset(const string &s);