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

#include <FiniteAutomaton.hh>

Public Types

using FA = FiniteAutomaton< S, I, NS, NI >
 
using SC = StateCreation< FA >
 
using BSSSC = BeliefStateWithSourceStateCreator< FA >
 
using State = typename SC::State
 
using FsmBs = typename BSSSC::FsmBs
 
- 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::BeliefStateWithSourceStateCreator< 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

 OnlySourceStateCreator (const FA &source, FA &target)
 
virtual std::pair< State, bool > newState (State source, const FsmBs &bs)
 
- 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::BeliefStateWithSourceStateCreator< FiniteAutomaton< S, I, NS, NI > >
virtual std::pair< State, bool > newState (State source, 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>
class Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >

Definition at line 368 of file FiniteAutomaton.hh.

Member Typedef Documentation

◆ BSSSC

template<typename S , typename I , typename NS , typename NI >
using Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::BSSSC = BeliefStateWithSourceStateCreator<FA>

Definition at line 375 of file FiniteAutomaton.hh.

◆ FA

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

Definition at line 373 of file FiniteAutomaton.hh.

◆ FsmBs

template<typename S , typename I , typename NS , typename NI >
using Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::FsmBs = typename BSSSC::FsmBs

Definition at line 377 of file FiniteAutomaton.hh.

◆ SC

template<typename S , typename I , typename NS , typename NI >
using Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::SC = StateCreation<FA>

Definition at line 374 of file FiniteAutomaton.hh.

◆ State

template<typename S , typename I , typename NS , typename NI >
using Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::State = typename SC::State

Definition at line 376 of file FiniteAutomaton.hh.

Constructor & Destructor Documentation

◆ OnlySourceStateCreator()

template<typename S , typename I , typename NS , typename NI >
Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::OnlySourceStateCreator ( const FA source,
FA target 
)
inline

Constructor

Parameters
sourcethe source machine
targetthe target machine

Definition at line 385 of file FiniteAutomaton.hh.

Member Function Documentation

◆ newState()

template<typename S , typename I , typename NS , typename NI >
virtual std::pair<State, bool> Diades::Automata::Experimental::OnlySourceStateCreator< FiniteAutomaton< S, I, NS, NI > >::newState ( State  source,
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 that takes the StatePropertyId of the first State in the belief state of the source machine

Definition at line 399 of file FiniteAutomaton.hh.

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


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