DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Types | Public Member Functions | List of all members
Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination > Class Template Reference

#include <FiniteAutomaton.hh>

Public Types

using FA = FiniteAutomaton< S, I, NS, NI >
 
using MSC = ManagedStateCreation< FA, typename StatePropertyCombination::Property >
 
using BSBSC = BeliefStateBasedStateCreator< FA >
 
using State = typename MSC::State
 
using FsmBs = typename BSBSC::FsmBs
 
using StatePropertyId = typename MSC::StatePropertyId
 
using StateProperty = typename MSC::StateProperty
 
- Public Types inherited from Diades::Automata::Experimental::ManagedStateCreation< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination::Property >
using SC = StateCreation< FiniteAutomaton< S, I, NS, NI > >
 
using Fsm = typename SC::Fsm
 
using StateProperty = StatePropertyCombination::Property
 
using StatePropertyId = typename SC::StatePropertyId
 
using StManager = StatePropertyManager< StateProperty, StatePropertyId >
 
- Public Types inherited from Diades::Automata::Experimental::StateCreation< FiniteAutomaton< S, I, NS, NI > >
using Exception = Diades::Utils::Exception< StateCreation >
 
using Fsm = FiniteAutomaton< S, I, NS, NI >
 
using StatePropertyId = typename Fsm::StatePropertyId
 
using EventPropertyId = typename Fsm::EventPropertyId
 
using State = typename Fsm::State
 
- Public Types inherited from Diades::Automata::Experimental::BeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI > >
using StatePropertyId = typename FiniteAutomaton< S, I, NS, NI > ::StatePropertyId
 
using State = typename FiniteAutomaton< S, I, NS, NI > ::State
 
using FsmBs = BeliefState< FiniteAutomaton< S, I, NS, NI > >
 

Public Member Functions

 ManagedBeliefStateBasedStateCreator (const FA &source, FA &target, const StatePropertyManager< StateProperty, StatePropertyId > &sourceStateManager, StatePropertyManager< StateProperty, StatePropertyId > &targetStateManager)
 
virtual std::pair< State, bool > newState (const FsmBs &bs)
 
- Public Member Functions inherited from Diades::Automata::Experimental::ManagedStateCreation< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination::Property >
const StManagersourceStateManager () const
 
StManagertargetStateManager ()
 
 ManagedStateCreation (const Fsm &source, Fsm &target, const StManager &sourceStateManager, StManager &targetStateManager)
 
- Public Member Functions inherited from Diades::Automata::Experimental::StateCreation< FiniteAutomaton< S, I, NS, NI > >
 StateCreation (const Fsm &source, Fsm &target)
 
const Fsmsource () const
 
const Fsmtarget () const
 
Fsmtarget ()
 
- Public Member Functions inherited from Diades::Automata::Experimental::BeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI > >
virtual std::pair< State, bool > newState (const FsmBs &bs)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from Diades::Automata::Experimental::StateCreation< FiniteAutomaton< S, I, NS, NI > >
static string typeName ()
 
- Protected Attributes inherited from Diades::Automata::Experimental::StateCreation< FiniteAutomaton< S, I, NS, NI > >
const Fsm_source
 
Fsm_target
 

Detailed Description

template<typename S, typename I, typename NS, typename NI, typename StatePropertyCombination>
class Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >

Definition at line 551 of file FiniteAutomaton.hh.

Member Typedef Documentation

◆ BSBSC

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::BSBSC = BeliefStateBasedStateCreator<FA>

Definition at line 558 of file FiniteAutomaton.hh.

◆ FA

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::FA = FiniteAutomaton<S, I, NS, NI>

Definition at line 556 of file FiniteAutomaton.hh.

◆ FsmBs

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::FsmBs = typename BSBSC::FsmBs

Definition at line 560 of file FiniteAutomaton.hh.

◆ MSC

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::MSC = ManagedStateCreation<FA, typename StatePropertyCombination::Property>

Definition at line 557 of file FiniteAutomaton.hh.

◆ State

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::State = typename MSC::State

Definition at line 559 of file FiniteAutomaton.hh.

◆ StateProperty

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::StateProperty = typename MSC::StateProperty

Definition at line 562 of file FiniteAutomaton.hh.

◆ StatePropertyId

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
using Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::StatePropertyId = typename MSC::StatePropertyId

Definition at line 561 of file FiniteAutomaton.hh.

Constructor & Destructor Documentation

◆ ManagedBeliefStateBasedStateCreator()

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::ManagedBeliefStateBasedStateCreator ( const FA source,
FA target,
const StatePropertyManager< StateProperty, StatePropertyId > &  sourceStateManager,
StatePropertyManager< StateProperty, StatePropertyId > &  targetStateManager 
)
inline

Constructor

Parameters
sourcethe source machine
targetthe target machine
sourceStateManagerthe StatePropertyManager of the source machine
targetStateManagerthe StatePropertyManager of the target machine

Definition at line 573 of file FiniteAutomaton.hh.

Member Function Documentation

◆ newState()

template<typename S , typename I , typename NS , typename NI , typename StatePropertyCombination >
virtual std::pair<State, bool> Diades::Automata::Experimental::ManagedBeliefStateBasedStateCreator< FiniteAutomaton< S, I, NS, NI >, StatePropertyCombination >::newState ( const FsmBs bs)
inlinevirtual
Parameters
bsa BeliefState from the source machine, it is the set of states reachable from the source state source by a transition that is not projected
bsa BeliefState from the source machine, it is the set of states reachable from the source state source by a transition that is not projected
Returns
a State newly created in the target machine gets a StatePropertyId that is associated with a StateProperty from the projectionStateManager built from the BeliefState from source by a StatePropertyProjection functor

Definition at line 590 of file FiniteAutomaton.hh.

References Diades::Automata::Experimental::StateMachine< _StatePropertyId, _InputSymbolId, _NullStatePropertyId, _NullInputSymbolId >::statePropertyIdRangeIterator().


The documentation for this class was generated from the following file: