DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <StatePropertyManager.hh>
Public Types | |
using | IM = InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > |
using | StateProperty = typename IM::Info |
using | StatePropertyId = typename IM::InfoId |
using | Exception = Diades::Utils::Exception< StatePropertyManager > |
Public Types inherited from Diades::Utils::InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > | |
using | Info = _StateProperty |
using | InfoId = _StatePropertyId |
using | NullInfo = NullStProperty |
using | NullInfoId = NullStPropertyId |
using | Hash = Hash |
using | Exception = Diades::Utils::Exception< InfoManager > |
using | InfoIdRangeInfoIterator = Diades::Utils::RangeMapperIterator< GetInfo< InfoIdIterator > > |
Static Public Member Functions | |
static string | typeName () |
Static Public Member Functions inherited from Diades::Utils::InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > | |
static string | typeName () |
Private Types | |
using | StatePropertyIdIterator = typename IM::InfoIdIterator |
Additional Inherited Members | |
Public Attributes inherited from Diades::Utils::InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > | |
const Info | nullInfo |
const InfoId | nullInfoId |
Protected Types inherited from Diades::Utils::InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > | |
using | Map = std::unordered_map< size_t, std::vector< InfoId > > |
using | InfoIdIterator = typename std::vector< InfoId >::const_iterator |
Protected Attributes inherited from Diades::Utils::InfoManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash > | |
Map | _infoMap |
std::vector< Info > | _infos |
std::vector< InfoId > | _infoIds |
A StatePropertyManager is a InfoManager dedicated to the association of StateProperty (Info) and StatePropertyId (InfoId)
Definition at line 98 of file StatePropertyManager.hh.
using Diades::Automata::Experimental::StatePropertyManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash >::Exception = Diades::Utils::Exception<StatePropertyManager> |
Definition at line 119 of file StatePropertyManager.hh.
using Diades::Automata::Experimental::StatePropertyManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash >::IM = InfoManager<_StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash> |
Definition at line 110 of file StatePropertyManager.hh.
using Diades::Automata::Experimental::StatePropertyManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash >::StateProperty = typename IM::Info |
Definition at line 111 of file StatePropertyManager.hh.
using Diades::Automata::Experimental::StatePropertyManager< _StateProperty, _StatePropertyId, NullStProperty, NullStPropertyId, Hash >::StatePropertyId = typename IM::InfoId |
Definition at line 112 of file StatePropertyManager.hh.
|
private |
Definition at line 130 of file StatePropertyManager.hh.
|
default |
Default constructor
|
default |
Copy constructor (default)
other |
|
default |
Move constructor (default)
other |
|
virtualdefault |
Destructor
|
inline |
id | a StatePropertyId |
a
StatePropertyId may not be associated yet to a StateProperty then it is associated with the null StateProperty Definition at line 241 of file StatePropertyManager.hh.
Referenced by consolidateWithSafeAlternatives(), Diades::Automata::Experimental::explainFromStates(), exportTsToDdAut2(), getReachable(), isThroughState(), Diades::Automata::Experimental::StateInfoManagerPrettyPrinter< LocalCandidate< LocalStateInfoId, EventSetManager< EventInfo, EventId >::EventSet >, LocalStateInfoId >::print(), Diades::Automata::Experimental::LocalCandidatePrettyPrinter< LocalStateInfo, LocalStateInfoId, EventInfo, EventId >::print(), printSolution(), printState(), trimDdAutStates2(), writeTreeView(), writeTreeViewSafeAlternative(), and writeTreeViewTransition().
|
inline |
StateProperty | a StateProperty |
Definition at line 187 of file StatePropertyManager.hh.
|
inline |
id | a StatePropertyId |
Definition at line 200 of file StatePropertyManager.hh.
|
inline |
iterator | a StateInfoIdIterator (whatever iterator which refers to a StateInfoId) |
here
is how to use this. Suppose you have a range of StateInfoId begin,end from the current manager, then stateInfoIdRangeStateInfoIterator(begin), stateInfoIdRangeStateInfoIterator(end) is the corresponding StateInfo Range.Definition at line 266 of file StatePropertyManager.hh.
|
default |
|
default |
|
inline |
Associate a stateProperty to a specific id
stateProperty | the StateProperty |
id | the StatePropertyId |
Definition at line 215 of file StatePropertyManager.hh.
Referenced by exportTsToDdAut2().
|
inline |
stateProperty | a StateProperty |
Definition at line 228 of file StatePropertyManager.hh.
Referenced by consolidateWithSafeAlternatives(), Diades::Automata::Experimental::explainFromStates(), tagStates(), and trimDdAutStates2().
|
inlinestatic |
Definition at line 115 of file StatePropertyManager.hh.