Public Types | |
typedef QVector < QSharedPointer< Group > > | TGroupList |
typedef QSet< GroupItem > | TItemSet |
Public Member Functions | |
Group (int id) | |
TGroupList | computeAndSplit (const TGroupList &groups) |
bool | contains (const QString &state) const |
int | count () const |
int | id () const |
bool | initial () const |
void | insert (const GroupItem &state) |
TItemSet | items () const |
Protected Types | |
typedef QVector< int > | TTrGroupList |
Protected Member Functions | |
TTrGroupList | computeTransitionGroupList (const TGroupList &groups, const GroupItem::TTrList &trList) |
Private Attributes | |
int | m_id |
TItemSet | m_states |
Definition at line 840 of file algorithms.cpp.
typedef QVector<QSharedPointer<Group> > Group::TGroupList |
Definition at line 843 of file algorithms.cpp.
typedef QSet<GroupItem> Group::TItemSet |
Definition at line 844 of file algorithms.cpp.
typedef QVector<int> Group::TTrGroupList [protected] |
Definition at line 901 of file algorithms.cpp.
Group::Group | ( | int | id | ) | [inline] |
Definition at line 846 of file algorithms.cpp.
Referenced by computeAndSplit().
TGroupList Group::computeAndSplit | ( | const TGroupList & | groups | ) | [inline] |
number of groups can be increased, return true if is splitted only current group can be changed due tu splitting (new group is than added)
Definition at line 871 of file algorithms.cpp.
References computeTransitionGroupList(), Group(), and m_states.
TTrGroupList Group::computeTransitionGroupList | ( | const TGroupList & | groups, | |
const GroupItem::TTrList & | trList | |||
) | [inline, protected] |
Definition at line 902 of file algorithms.cpp.
Referenced by computeAndSplit().
bool Group::contains | ( | const QString & | state | ) | const [inline] |
Definition at line 854 of file algorithms.cpp.
References m_states.
int Group::count | ( | ) | const [inline] |
Definition at line 852 of file algorithms.cpp.
References m_states.
int Group::id | ( | ) | const [inline] |
Definition at line 850 of file algorithms.cpp.
References m_id.
Referenced by operator<<().
bool Group::initial | ( | ) | const [inline] |
Definition at line 860 of file algorithms.cpp.
References GroupItem::isInitial(), and m_states.
void Group::insert | ( | const GroupItem & | state | ) | [inline] |
Definition at line 858 of file algorithms.cpp.
References m_states.
TItemSet Group::items | ( | ) | const [inline] |
Definition at line 856 of file algorithms.cpp.
References m_states.
Referenced by operator<<().
int Group::m_id [private] |
Definition at line 935 of file algorithms.cpp.
Referenced by id().
TItemSet Group::m_states [private] |
Definition at line 934 of file algorithms.cpp.
Referenced by computeAndSplit(), contains(), count(), initial(), insert(), and items().