DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Types | Public Member Functions | List of all members
Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination > Class Template Reference

#include <StateCreation.hh>

Public Types

using BSSSC = BeliefStateWithSourceStateCreator< StateMachine >
 
using MSC = ManagedStateCreation< StateMachine, typename StatePropertyCombination::StateProperty >
 
using State = typename MSC::State
 
using FsmBs = typename BSSSC::FsmBs
 
using StatePropertyId = typename MSC::StatePropertyId
 
using StateProperty = typename MSC::StateProperty
 
- Public Types inherited from Diades::Automata::Experimental::ManagedStateCreation< StateMachine, StatePropertyCombination::StateProperty >
using SC = StateCreation< StateMachine >
 
using Fsm = typename SC::Fsm
 
using StateProperty = StatePropertyCombination::StateProperty
 
using StatePropertyId = typename SC::StatePropertyId
 
using StManager = StatePropertyManager< StateProperty, StatePropertyId >
 
- Public Types inherited from Diades::Automata::Experimental::StateCreation< StateMachine >
using Exception = Diades::Utils::Exception< StateCreation >
 
using Fsm = StateMachine
 
using StatePropertyId = typename Fsm::StatePropertyId
 
using EventPropertyId = typename Fsm::EventPropertyId
 
using State = typename Fsm::State
 
- Public Types inherited from Diades::Automata::Experimental::BeliefStateWithSourceStateCreator< StateMachine >
using StatePropertyId = typename StateMachine::StatePropertyId
 
using State = typename StateMachine::State
 
using FsmBs = BeliefState< StateMachine >
 

Public Member Functions

 ManagedBeliefStateWithSourceStateCreator (const StateMachine &source, StateMachine &target, const StatePropertyManager< StateProperty, StatePropertyId > &sourceStateManager, StatePropertyManager< StateProperty, StatePropertyId > &targetStateManager)
 
virtual std::pair< State, bool > newState (State source, const FsmBs &bs)
 
- Public Member Functions inherited from Diades::Automata::Experimental::ManagedStateCreation< StateMachine, StatePropertyCombination::StateProperty >
const StManagersourceStateManager () const
 
StManagertargetStateManager ()
 
 ManagedStateCreation (const Fsm &source, Fsm &target, const StManager &sourceStateManager, StManager &targetStateManager)
 
- Public Member Functions inherited from Diades::Automata::Experimental::StateCreation< StateMachine >
 StateCreation (const Fsm &source, Fsm &target)
 
const Fsmsource () const
 
const Fsmtarget () const
 
Fsmtarget ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Diades::Automata::Experimental::StateCreation< StateMachine >
static string typeName ()
 
- Protected Attributes inherited from Diades::Automata::Experimental::StateCreation< StateMachine >
const Fsm_source
 
Fsm_target
 

Detailed Description

template<typename StateMachine, typename StatePropertyCombination>
class Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >

Definition at line 499 of file StateCreation.hh.

Member Typedef Documentation

◆ BSSSC

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::BSSSC = BeliefStateWithSourceStateCreator<StateMachine>

Definition at line 503 of file StateCreation.hh.

◆ FsmBs

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::FsmBs = typename BSSSC::FsmBs

Definition at line 506 of file StateCreation.hh.

◆ MSC

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::MSC = ManagedStateCreation< StateMachine, typename StatePropertyCombination::StateProperty>

Definition at line 504 of file StateCreation.hh.

◆ State

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::State = typename MSC::State

Definition at line 505 of file StateCreation.hh.

◆ StateProperty

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::StateProperty = typename MSC::StateProperty

Definition at line 508 of file StateCreation.hh.

◆ StatePropertyId

template<typename StateMachine, typename StatePropertyCombination>
using Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::StatePropertyId = typename MSC::StatePropertyId

Definition at line 507 of file StateCreation.hh.

Constructor & Destructor Documentation

◆ ManagedBeliefStateWithSourceStateCreator()

template<typename StateMachine, typename StatePropertyCombination>
Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::ManagedBeliefStateWithSourceStateCreator ( const StateMachine source,
StateMachine 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 517 of file StateCreation.hh.

Member Function Documentation

◆ newState()

template<typename StateMachine, typename StatePropertyCombination>
virtual std::pair<State, bool> Diades::Automata::Experimental::ManagedBeliefStateWithSourceStateCreator< StateMachine, StatePropertyCombination >::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 gets a StatePropertyId that is associated with a StateProperty from the projectionStateManager built from the BeliefState from source by a StatePropertyProjection functor

Implements Diades::Automata::Experimental::BeliefStateWithSourceStateCreator< StateMachine >.

Definition at line 533 of file StateCreation.hh.

References Diades::Graph::GraphNodeSet::begin(), and Diades::Graph::GraphNodeSet::end().


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