DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <StateMachine.hh>
Classes | |
class | GetStatePropertyId |
Static Public Member Functions | |
static string | defaultStateMachineName () |
static string | typeName () |
Public Attributes | |
const StatePropertyId | nullStatePropertyId = NullStatePropertyId().nullValue() |
const EventPropertyId | nullEventPropertyId = NullEventPropertyId().nullValue() |
Protected Member Functions | |
EventPropertyId | getEventFromIndex (size_t index) const |
virtual void | eraseEventPropertyId (size_t eventIndex) |
State | getStateFromIndex (StatePropertyIdIndex index) const |
StatePropertyIdIndex | getIndexOfState (State s) const |
Protected Attributes | |
Diades::Graph::Graph | _behav |
unordered_set< State > | _initial |
Diades::Graph::NodeMap< bool > | _isInitial |
Private Types | |
using | StatePropertyIdIndex = size_t |
using | EventPropertyIdIndex = size_t |
Private Member Functions | |
void | finaliseTransitions (const StateMachine &machine) |
void | finaliseInitialStates (const StateMachine &machine) |
void | finaliseStatePropertyIds (const StateMachine &machine) |
void | finaliseEventPropertyIds (const StateMachine &machine) |
void | finaliseEventPropertyIdRemoval (const EventPropertyId &e) |
void | eraseStatePropertyId (State state) |
The template class StateMachine aims at defining a generic finite state machine. Each state of the machine owns a property of type StatePropertyId. A StatePropertyId should be a copyable, hashable type typically something that is an identifier usually it is a string if there is no StatePropertyManager involved with a given Statemachine but it can be a size_t that links to a StateProperty in a StatePropertyManager.
Each transition is associated with an information of type EventPropertyId. By construction a StatePropertyId is the property of one state and only one. In this sense, a StatePropertyId fully characterise a state of of the StateMachine. A StateMachine may have several initial states.
Definition at line 46 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::EventPropertyId = _EventPropertyId |
Definition at line 88 of file StateMachine.hh.
|
private |
Definition at line 115 of file StateMachine.hh.
typedef vector<EventPropertyId>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::EventPropertyIdIterator |
Definition at line 151 of file StateMachine.hh.
typedef list<Transition>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::EventTransitionIterator |
Definition at line 147 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::Exception = Diades::Utils::Exception<StateMachine> |
Definition at line 139 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::Id = size_t |
Definition at line 91 of file StateMachine.hh.
typedef unordered_set<State>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::InitialStateIterator |
Definition at line 148 of file StateMachine.hh.
typedef unordered_set<Transition>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::InputEventTransitionIterator |
Definition at line 153 of file StateMachine.hh.
typedef Diades::Graph::InEdgeIterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::InputTransitionIterator |
Definition at line 149 of file StateMachine.hh.
typedef unordered_set<State>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::LabelledStateIterator |
Definition at line 154 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::NullEventPropertyId = _NullEventPropertyId |
Definition at line 90 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::NullStatePropertyId = _NullStatePropertyId |
Definition at line 89 of file StateMachine.hh.
typedef unordered_set<Transition>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::OutputEventTransitionIterator |
Definition at line 152 of file StateMachine.hh.
typedef Diades::Graph::OutEdgeIterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::OutputTransitionIterator |
Definition at line 150 of file StateMachine.hh.
typedef Diades::Graph::Node Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::State |
Definition at line 143 of file StateMachine.hh.
typedef Diades::Graph::NodeIterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::StateIterator |
Definition at line 145 of file StateMachine.hh.
using Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::StatePropertyId = _StatePropertyId |
Definition at line 87 of file StateMachine.hh.
|
private |
Definition at line 102 of file StateMachine.hh.
typedef std::vector<StatePropertyId>::const_iterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::StatePropertyIdIterator |
Definition at line 1007 of file StateMachine.hh.
Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::StatePropertyIdRangeIterator |
It is a template class that asks for an iterator over a range of State in a StateMachine and implements an iterator on the StatePropertyId's of the range of State.
Definition at line 234 of file StateMachine.hh.
typedef Diades::Graph::Edge Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::Transition |
Definition at line 144 of file StateMachine.hh.
typedef Diades::Graph::EdgeIterator Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::TransitionIterator |
Definition at line 146 of file StateMachine.hh.
|
inline |
Default constructor: create an invalid state machine
Definition at line 247 of file StateMachine.hh.
|
inline |
Copy contructor
machine | the machine to copy |
Definition at line 275 of file StateMachine.hh.
|
inlinevirtual |
Destructor
Definition at line 330 of file StateMachine.hh.
|
inline |
State iterator on states that are the sources of a given event
e | an Event |
Definition at line 1332 of file StateMachine.hh.
|
inline |
State iterator on states that are the targets of a given event
e | an Event |
Definition at line 1358 of file StateMachine.hh.
|
inline |
Definition at line 419 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explainFromStates(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::FiniteAutomaton(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextReachableBeliefState(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), prepareSimulation(), and setPrefixClosedAcceptorTag().
|
inline |
Definition at line 428 of file StateMachine.hh.
|
inlinevirtual |
clear the StateMachine
Reimplemented in Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >, and Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >.
Definition at line 365 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::clear(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::clear(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::~StateMachine().
|
inline |
unset any potential initial state
Definition at line 1088 of file StateMachine.hh.
|
inline |
linear
search Definition at line 674 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::SynchronisationEvent< StateMachine >::addEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::beginOfSourceStateOfEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::beginOfTargetStateOfEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::endOfSourceStateOfEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::endOfTargetStateOfEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::eventTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::eventTransitionEnd(), Diades::Automata::Experimental::SynchronisationRules< StateMachine >::getSynchronisationEvents(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputEventTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputEventTransitionEnd(), Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::insertEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::insertEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputEventTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputEventTransitionEnd(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::replaceEvent(), Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::setFaulty(), and Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::setNormal().
|
inline |
Copy the EventPropertyId of a machine into the current one
m | a StateMachine |
event | an EventPropertyId this method is used especially in Determine, Abstract, ... As it is virtual, it ensures that events and their properties are properly copied whatever the derived class calls it. |
Definition at line 517 of file StateMachine.hh.
|
inline |
Copy all the EventPropertyIds of a machine into the current one
m | a StateMachine this method is used especially in Determine, Abstract, ... As it is virtual, it ensures that events and their properties are properly copied whatever the derived class calls it. |
Definition at line 530 of file StateMachine.hh.
|
inlinestatic |
the name by default
Definition at line 129 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::clear(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isValid().
|
inlinevirtual |
state | a State Delete the state in the StateMachine |
Definition at line 909 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), and Diades::Automata::Experimental::deleteState().
|
inline |
start | StateIterator |
end | StateIterator Delete the states in the range [start,end) in the StateMachine |
Definition at line 967 of file StateMachine.hh.
|
inline |
Transition deletion
t | a Transition to delete |
Definition at line 1269 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::deleteTransition(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::removeEvent().
|
inline |
Transition deletions
start | TransIterator |
end | TransIterator |
Definition at line 1302 of file StateMachine.hh.
|
inline |
Transition deletions
start | TransitionEventIterator |
end | TransitionEventIterator |
Definition at line 1318 of file StateMachine.hh.
|
inline |
State iterator on states that are the sources of a given event
e | an Event |
Definition at line 1345 of file StateMachine.hh.
|
inline |
State iterator on states that are the targets of a given event
e | an Event |
Definition at line 1371 of file StateMachine.hh.
|
inlineprotectedvirtual |
Clean up the EventProperty associated to thie index
EventIndex | the index of an EventProperty |
Reimplemented in Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >.
Definition at line 1701 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::eraseEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseEventPropertyIdRemoval(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::removeEvent().
|
inlineprivate |
Clean up the StateProperty associated to state
state | a non-null State |
Definition at line 1664 of file StateMachine.hh.
|
inline |
Event iterator
Definition at line 652 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::copyEventPropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::copyEventPropertyIds(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputSymbolIdBegin(), runGlobalDiagnosisProblem(), and trimDdAutStates2().
|
inline |
Event iterator
Definition at line 662 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::copyEventPropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::copyEventPropertyIds(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputSymbolIdEnd(), runGlobalDiagnosisProblem(), and trimDdAutStates2().
|
inline |
Definition at line 642 of file StateMachine.hh.
Referenced by Diades::Sdmdl::Experimental::encodeEvent(), and Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputSymbolIds().
|
inline |
Transition iterator
e | an Event |
Definition at line 1384 of file StateMachine.hh.
|
inline |
Transition iterator
e | an Event |
Definition at line 1397 of file StateMachine.hh.
|
inlineprivate |
Finalise the removal of the event e
e |
Definition at line 1653 of file StateMachine.hh.
|
inlineprivate |
Finalise the copy of events (_events) already updated
Definition at line 1635 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::StateMachine().
|
inlineprivate |
Finalise the copy of the initial states
machine | the StateMachine to copy |
Definition at line 1589 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::StateMachine().
|
inlineprivate |
Finalise the copy of the state properties
machine | the StateMachine to copy |
Definition at line 1605 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::StateMachine().
|
inlineprivate |
Finalise the copy of the Transitions from the StateMachine machine
machine | the StateMachine that is copied |
Definition at line 1562 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::StateMachine().
|
inline |
t | a Trans |
Definition at line 627 of file StateMachine.hh.
Referenced by commandPath(), consolidateWithSafeAlternatives(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteTransition(), Diades::Sdmdl::Experimental::encodeTransitions(), Diades::Automata::Experimental::explainFromStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseTransitions(), Diades::Automata::Experimental::insertAutFsms(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition(), printTransition(), Diades::Automata::Experimental::toDotTransitions(), writeTreeViewSafeAlternative(), and writeTreeViewTransition().
|
inlineprotected |
index | an index of an EventPropertyId |
Definition at line 220 of file StateMachine.hh.
|
inlineprotected |
s | a State |
Definition at line 1782 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newState(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId().
|
inline |
'sProperty' | a StateProperty |
Definition at line 892 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explainFromStates(), tagStates(), and trimDdAutStates2().
|
inlineprotected |
index | an internal index |
Definition at line 1765 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newState(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId().
|
inline |
'state' | a State |
Definition at line 809 of file StateMachine.hh.
Referenced by consolidateWithSafeAlternatives(), Diades::Automata::Experimental::deleteState(), Diades::Sdmdl::Experimental::encodeInitialStates(), Diades::Sdmdl::Experimental::encodeTransitions(), Diades::Automata::Experimental::explainFromStates(), getReachable(), isThroughState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::GetStatePropertyId< _Iterator >::operator()(), printState(), runGlobalDiagnosisProblem(), Diades::Automata::Experimental::toDotStates(), writeTreeView(), writeTreeViewSafeAlternative(), and writeTreeViewTransition().
|
inline |
The
identifier is just a way to identify a StateMachine in a given context. The StateMachine id can be modified at any time it is NOT an absolute and unique identifier
Definition at line 398 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
inline |
Definition at line 1121 of file StateMachine.hh.
Referenced by Diades::Sdmdl::Experimental::encodeInitialStates(), Diades::Automata::Experimental::explain(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseInitialStates(), getReachable(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::initialState(), Diades::Automata::Experimental::insertAutFsms(), printInitialStates(), runGlobalDiagnosisProblem(), Diades::Automata::Experimental::toDotInitialStates(), and writeTreeView().
|
inline |
Definition at line 1133 of file StateMachine.hh.
Referenced by Diades::Sdmdl::Experimental::encodeInitialStates(), Diades::Automata::Experimental::explain(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseInitialStates(), getReachable(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::initialState(), Diades::Automata::Experimental::insertAutFsms(), printInitialStates(), Diades::Automata::Experimental::toDotInitialStates(), and writeTreeView().
|
inline |
Transition iterator on the input transitions of a given state labelled with a given event
s | a State |
e | an Event |
Definition at line 1447 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explainFromStates(), and Diades::Automata::Experimental::BeliefState< StateMachine >::prevBeliefState().
|
inline |
Transition iterator on the input transitions of a given state labelled with a given event
s | a State |
e | an Event |
Definition at line 1464 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explainFromStates(), and Diades::Automata::Experimental::BeliefState< StateMachine >::prevBeliefState().
|
inline |
Input transition iterator
s | State |
Definition at line 1523 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::insertAutFsms(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextReachableBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::prevPredicateBeliefState(), printInputTransitions(), and tagPredecessors().
|
inline |
Input transition iterator
s | State |
Definition at line 1536 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::insertAutFsms(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextReachableBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::prevPredicateBeliefState(), printInputTransitions(), and tagPredecessors().
|
inline |
Insert the range of events if not already inserted If not already inserted the inserted event is considered as normal. To change it as faulty use setFaulty(event)
start | EventIterator |
end | EventIterator |
Definition at line 608 of file StateMachine.hh.
|
inlinevirtual |
Insert the Event if not already inserted. I
event | an Event |
Reimplemented in Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >.
Definition at line 546 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::copyEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::insertEvent(), Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::insertEventPropertyId(), Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::insertInputSymbolId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::replaceEvent().
|
inline |
Definition at line 437 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isValid().
|
inline |
state | a State |
Definition at line 1158 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explainFromStates(), Diades::Automata::Experimental::insertAutFsms(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::swapInitialState().
|
inline |
evt | an EventPropertyId |
Definition at line 503 of file StateMachine.hh.
|
inline |
state | a State of the machine |
Definition at line 1169 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getIndexOfState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getStatePropertyId(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId().
|
inline |
Definition at line 449 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::SynchronisationRules< StateMachine >::getSynchronisationEvents(), and Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isValid().
|
inline |
Definition at line 475 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explain(), Diades::Automata::Experimental::SynchronisationRules< StateMachine >::findComponent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isValid(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setName(), and Diades::Automata::Experimental::toDotHeader().
|
inline |
Create a new null State in the machine
Definition at line 748 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::AutStateCreator::newState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newState(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition().
|
inline |
Create a new State in the machine
property | the associated property of the state (the Id pof the property) |
Definition at line 768 of file StateMachine.hh.
|
inline |
source | a State of the StateMachine |
target | a State of the StateMachine |
event | an Event If the event is not yet in the component, the event is set to be normal, use setFaulty to change this |
Definition at line 1199 of file StateMachine.hh.
Referenced by consolidateWithSafeAlternatives(), Diades::Automata::Experimental::explainFromStates(), Diades::Automata::Experimental::insertAutFsms(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition().
|
inline |
source | a StateProperty |
target | a StateProperty |
event | an Event, if the event is not yet in the state machine, the event is set to be normal, use setFaulty to change this |
Definition at line 1257 of file StateMachine.hh.
|
inline |
Definition at line 492 of file StateMachine.hh.
|
inline |
Number of events
Definition at line 594 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::insertEventPropertyId(), and Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::numberOfInputSymbolIds().
|
inline |
Definition at line 1145 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::initialState(), and Diades::Automata::Experimental::insertAutFsms().
|
inline |
Number of states
Definition at line 980 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::AutStateCreator::newState(), prepareSimulation(), setPrefixClosedAcceptorTag(), and Diades::Automata::Experimental::toDotHeader().
|
inline |
Number of transitions
Definition at line 1548 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::toDotHeader().
|
inline |
Difference operator
machine | the StateMachine to compare |
Definition at line 356 of file StateMachine.hh.
|
inline |
Assignment operator
machine | the StateMachine to copy |
Definition at line 306 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::FaultyEventStateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::operator=(), and Diades::Automata::Experimental::FiniteAutomaton< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
inline |
Equality operator
machine | the StateMachine to compare |
Definition at line 343 of file StateMachine.hh.
|
inline |
Transition iterator on the output transitions of a given state labelled with a given event
s | a State |
e | an Event |
Definition at line 1412 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition(), and Diades::Automata::Experimental::BeliefState< StateMachine >::nextBeliefState().
|
inline |
Transition iterator on the output transitions of a given state labelled with a given event
s | a State |
e | an Event |
Definition at line 1430 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition(), and Diades::Automata::Experimental::BeliefState< StateMachine >::nextBeliefState().
|
inline |
Output transition iterator
s | State |
Definition at line 1497 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), getReachable(), Diades::Automata::Experimental::getSafeAlternatives(), Diades::Automata::Experimental::insertAutFsms(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextPredicateBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextReachableBeliefState(), printOutputTransitions(), writeTreeView(), and writeTreeViewTransition().
|
inline |
Output transition iterator
s | State |
Definition at line 1510 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), getReachable(), Diades::Automata::Experimental::getSafeAlternatives(), Diades::Automata::Experimental::insertAutFsms(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextPredicateBeliefState(), Diades::Automata::Experimental::BeliefState< StateMachine >::nextReachableBeliefState(), printOutputTransitions(), writeTreeView(), and writeTreeViewTransition().
|
inline |
Remove the Event e from the StateMachine. If Transition are labeled with this Event they are also deleted
e |
Definition at line 727 of file StateMachine.hh.
|
inline |
Event replacement, if e2 is not inserted yet, it will be inserted and considered as normal. Use setFaulty(e2) if you want to change that
Definition at line 689 of file StateMachine.hh.
|
inline |
set all the states as possible initial states
Definition at line 1077 of file StateMachine.hh.
|
inline |
set the identifier of the machine
identifier | the new identifier |
Definition at line 410 of file StateMachine.hh.
|
inline |
Set the state as a possible initial state
state | a State of the StateMachine |
Definition at line 1048 of file StateMachine.hh.
Referenced by applyTag(), Diades::Automata::Experimental::explainFromStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseInitialStates(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::swapInitialState().
|
inline |
set the name of the StateMachine
name | the new name of the StateMachine |
Definition at line 464 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::explain(), and synchroniseDdAut().
|
inline |
state | a State |
sProperty | a StateProperty to assign to the state |
Definition at line 831 of file StateMachine.hh.
|
inline |
State iterator
Definition at line 989 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::clearAllInitialStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), initialiseStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setAllInitialStates(), Diades::Automata::Experimental::toDotStates(), and trimDdAutStates2().
|
inline |
State iterator
Definition at line 998 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::clearAllInitialStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), initialiseStates(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setAllInitialStates(), Diades::Automata::Experimental::toDotStates(), and trimDdAutStates2().
|
inline |
State property iterator on the non-null properties
Definition at line 1013 of file StateMachine.hh.
Referenced by runGlobalDiagnosisProblem().
|
inline |
State iterator
Definition at line 1022 of file StateMachine.hh.
Referenced by runGlobalDiagnosisProblem().
|
inline |
iterator | a StateIterator (whatever iterator which refers to a State) |
here
is how to use this. Suppose you have a range of states begin,end from the current machine, then stateRangePropertyIterator(begin), stateRangePropertyIterator(end) is the corresponding StateProperty Range. Definition at line 1037 of file StateMachine.hh.
|
inline |
swap the status of the state as initial/non-initial
If the given state is an initial state then it becomes non initial And if the state is not initial, it becomes an initial state
state | a state of the current StateMachine |
Definition at line 1102 of file StateMachine.hh.
Referenced by applyTag().
|
inline |
Transition iterator
Definition at line 1477 of file StateMachine.hh.
Referenced by Diades::Sdmdl::Experimental::encodeTransitions(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::eraseEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseTransitions(), and Diades::Automata::Experimental::toDotTransitions().
|
inline |
Transition iterator
Definition at line 1486 of file StateMachine.hh.
Referenced by Diades::Sdmdl::Experimental::encodeTransitions(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::eraseEventPropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseTransitions(), and Diades::Automata::Experimental::toDotTransitions().
|
inlinestatic |
Definition at line 135 of file StateMachine.hh.
|
inline |
Set the state as a possible initial state
state | a State of the StateMachine |
Definition at line 1063 of file StateMachine.hh.
Referenced by applyTag(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::swapInitialState().
|
protected |
Definition at line 161 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::behaviour(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteTransition(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getEvent(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getStatePropertyId(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputEventTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputEventTransitionEnd(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::inputTransitionEnd(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isInitial(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newTransition(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputEventTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputEventTransitionEnd(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputTransitionBegin(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::outputTransitionEnd(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setInitial(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::unsetInitial().
|
private |
Definition at line 172 of file StateMachine.hh.
|
private |
identifier of the machine
Definition at line 170 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::events(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
private |
name of the machine
Definition at line 167 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::id().
|
private |
Events
Definition at line 171 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
private |
Definition at line 176 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
protected |
behaviour of the machine
Definition at line 162 of file StateMachine.hh.
|
protected |
possible initial states of the StateMachine
Definition at line 163 of file StateMachine.hh.
|
private |
true <=> is Initial
Definition at line 166 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::name().
|
private |
Definition at line 121 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::deleteState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::finaliseStatePropertyIds(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getIndexOfState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isNullState(), Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::newState(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId().
|
private |
Information on a state
Definition at line 178 of file StateMachine.hh.
|
private |
Definition at line 184 of file StateMachine.hh.
|
private |
Definition at line 175 of file StateMachine.hh.
|
private |
Definition at line 177 of file StateMachine.hh.
|
private |
Definition at line 174 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::operator=().
|
private |
Definition at line 185 of file StateMachine.hh.
|
private |
Definition at line 186 of file StateMachine.hh.
|
private |
Definition at line 183 of file StateMachine.hh.
|
private |
states associated with no StatePropertyId
Definition at line 182 of file StateMachine.hh.
const EventPropertyId Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::nullEventPropertyId = NullEventPropertyId().nullValue() |
Definition at line 126 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::isNullEvent(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::nullEvent().
const StatePropertyId Diades::Automata::Experimental::StateMachine< _StatePropertyId, _EventPropertyId, _NullStatePropertyId, _NullEventPropertyId >::nullStatePropertyId = NullStatePropertyId().nullValue() |
Definition at line 125 of file StateMachine.hh.
Referenced by Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::getStatePropertyId(), and Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::setStatePropertyId().