DiaDes  0.1
DIAgnosis of Discrete-Event System
Typedefs | Functions
Diades::Automata::Experimental::LocalCandidateMachine Namespace Reference

Typedefs

using EventInfo = std::string
 
using EventInfoId = StatePropertyIdAsSizeT
 
using EvManager = EventManager< EventInfo, EventInfoId >
 
using EvSetManager = EventSetManager< EventInfo, EventInfoId >
 
using EvSet = EventSetManager< EventInfo, EventInfoId >::EventSet
 
using LocalStateInfo = StatePropertyAsStringLabel
 
using LocalStateInfoId = StatePropertyIdAsSizeT
 
using LocalStateInfoManager = StatePropertyManager< LocalStateInfo, LocalStateInfoId >
 
using Candidate = LocalCandidate< LocalStateInfoId, EvSet >
 
using CandidateId = LocalStateInfoId
 
using CandidateManager = StatePropertyManager< Candidate, CandidateId >
 
using Fsm = FaultyEventStateMachine< CandidateId, EventInfoId >
 
using LocalStateInfoPrinter = StateInfoManagerPrettyPrinter< LocalStateInfo, LocalStateInfoId >
 
using EvSetPrinter = EventSetManagerPrettyPrinter< EventInfo, EventInfoId >
 
using CandidatePrinter = LocalCandidatePrettyPrinter< LocalStateInfo, LocalStateInfoId, EventInfo, EventInfoId >
 
using EventPrinter = EventManagerPrettyPrinter< EventInfo, EventInfoId >
 
using State = Diades::Graph::Node
 

Functions

ostream & toDotPretty (ostream &os, Fsm &machine, const LocalStateInfoManager &mgrLocStateInfo, const EvManager &mgrEvent, const EvSetManager &mgrSet, const CandidateManager &mgrCand)
 

Typedef Documentation

◆ Candidate

A Candidate is LocalCandidate associated a LocalStateInfoId and an EvSet. Basically, a Candidate only contains ids and EvSet The underlying information (namely of type LocalStateInfo and EventInfo) can be retrived from a Candidate with the help of EvManager, EvSetManager, LocalStateInfoManager.

Definition at line 94 of file LocalCandidateStateMachine.hh.

◆ CandidateId

Definition at line 100 of file LocalCandidateStateMachine.hh.

◆ CandidateManager

Definition at line 106 of file LocalCandidateStateMachine.hh.

◆ CandidatePrinter

Definition at line 136 of file LocalCandidateStateMachine.hh.

◆ EventInfo

The mapping between an EventInfoId and an EventInfo is managed by an EventManager<EventInfo,EventInfoId>

Definition at line 35 of file LocalCandidateStateMachine.hh.

◆ EventInfoId

Definition at line 42 of file LocalCandidateStateMachine.hh.

◆ EventPrinter

Definition at line 141 of file LocalCandidateStateMachine.hh.

◆ EvManager

Definition at line 47 of file LocalCandidateStateMachine.hh.

◆ EvSet

Definition at line 64 of file LocalCandidateStateMachine.hh.

◆ EvSetManager

Definition at line 58 of file LocalCandidateStateMachine.hh.

◆ EvSetPrinter

Definition at line 128 of file LocalCandidateStateMachine.hh.

◆ Fsm

Definition at line 118 of file LocalCandidateStateMachine.hh.

◆ LocalStateInfo

Definition at line 72 of file LocalCandidateStateMachine.hh.

◆ LocalStateInfoId

Definition at line 73 of file LocalCandidateStateMachine.hh.

◆ LocalStateInfoManager

Definition at line 79 of file LocalCandidateStateMachine.hh.

◆ LocalStateInfoPrinter

Definition at line 123 of file LocalCandidateStateMachine.hh.

◆ State

Definition at line 147 of file LocalCandidateStateMachine.hh.

Function Documentation

◆ toDotPretty()

ostream& Diades::Automata::Experimental::LocalCandidateMachine::toDotPretty ( ostream &  os,
Fsm machine,
const LocalStateInfoManager mgrLocStateInfo,
const EvManager mgrEvent,
const EvSetManager mgrSet,
const CandidateManager mgrCand 
)
inline

Export as a 'dot format' stream a Local Candidate Machine (LocalCandidateMachine::Fsm)

Parameters
osoutput stream
machinethe Local Candidate Machine to export in dot
mgrLocStateInfomanager of LocalStateInfo
mgrEventmanager of EventInfo
mgrSetmanager of EvSet
mgrCandmanager of Candidate
Returns
the update stream

Definition at line 162 of file LocalCandidateStateMachine.hh.

References Diades::Automata::Experimental::toDot().