DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <ComposableModelSearch.hh>
Public Member Functions | |
DiagState (const State &state, const unordered_set< Event > &faults, unsigned obsNb) | |
DiagState (const DiagState &dstate) | |
const State & | state () const |
const unordered_set< Event > & | faults () const |
unsigned | obsNb () const |
void | addFault (const Event &event) |
unsigned | incrObsNb () |
void | setState (const State &state) |
bool | operator== (const DiagState &dstate) const |
bool | operator!= (const DiagState &dstate) const |
Private Attributes | |
State | _state |
unordered_set< Event > | _faults |
unsigned | _obsNb |
Implements a TIncidentEdges::Node for searching into a ComposableModel and performing a diagnosis. A DiagState is triple (ComposableModel::State, number of observations before reaching this state, set of faults that has occurred before reaching this state)
Definition at line 18 of file ComposableModelSearch.hh.
|
inline |
Definition at line 25 of file ComposableModelSearch.hh.
|
inline |
Definition at line 26 of file ComposableModelSearch.hh.
|
inline |
Definition at line 30 of file ComposableModelSearch.hh.
Referenced by Diades::Automata::TargetDiagState::next().
|
inline |
Definition at line 28 of file ComposableModelSearch.hh.
References _faults.
Referenced by Diades::Automata::ComposableModelSearch< Algorithm >::diagnosis(), Diades::Automata::ComposableModelSearch< Algorithm >::initialize(), Diades::Automata::VisitedDiagState::isMarked(), Diades::Automata::VisitedDiagState::mark(), Diades::Automata::operator<<(), operator==(), and Diades::Automata::VisitedDiagState::unmark().
|
inline |
Definition at line 31 of file ComposableModelSearch.hh.
References _obsNb.
Referenced by Diades::Automata::TargetDiagState::next().
|
inline |
Definition at line 29 of file ComposableModelSearch.hh.
References _obsNb.
Referenced by Diades::Automata::NextTransitions::begin(), Diades::Automata::NextTransitions::end(), Diades::Automata::VisitedDiagState::isMarked(), Diades::Automata::IsCandidate::isSolution(), Diades::Automata::VisitedDiagState::mark(), Diades::Automata::operator<<(), operator==(), and Diades::Automata::VisitedDiagState::unmark().
|
inline |
Definition at line 34 of file ComposableModelSearch.hh.
|
inline |
Definition at line 33 of file ComposableModelSearch.hh.
|
inline |
Definition at line 32 of file ComposableModelSearch.hh.
References state().
Referenced by Diades::Automata::TargetDiagState::next().
|
inline |
Definition at line 27 of file ComposableModelSearch.hh.
References _state.
Referenced by Diades::Automata::NextTransitions::begin(), Diades::Automata::ComposableModelSearch< Algorithm >::diagnosis(), Diades::Automata::NextTransitions::end(), Diades::Automata::VisitedDiagState::isMarked(), Diades::Automata::VisitedDiagState::mark(), Diades::Automata::operator<<(), operator==(), setState(), and Diades::Automata::VisitedDiagState::unmark().
|
private |
Definition at line 22 of file ComposableModelSearch.hh.
Referenced by faults().
|
private |
Definition at line 23 of file ComposableModelSearch.hh.
Referenced by incrObsNb(), and obsNb().
|
private |
Definition at line 21 of file ComposableModelSearch.hh.
Referenced by state().