DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <LocalCandidate.hh>
Public Types | |
typedef StateProperty | State |
typedef FaultProperty | Faults |
Public Member Functions | |
LocalCandidate () | |
LocalCandidate (const LocalCandidate &candidate) | |
LocalCandidate (LocalCandidate &&candidate) | |
LocalCandidate (const State &state, const Faults &faults) | |
LocalCandidate & | operator= (const LocalCandidate &candidate) |
~LocalCandidate () | |
bool | operator== (const LocalCandidate &candidate) const |
bool | operator!= (const LocalCandidate &candidate) const |
const State & | state () const |
const Faults & | faults () const |
Private Attributes | |
State | _state |
Faults | _faults |
This class represents a local diagnosis candidate That is a couple of information (x,F): where x is a local state property and F is a fault property A LocalCandidate is hashable which enforces that StateProperty and FaultProperty must be hashable As we are using boost::hash_combine, boost::hash_value<StateProperty> and boost::hash_value<FaultProperty> must be defined
Definition at line 31 of file LocalCandidate.hh.
typedef FaultProperty Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::Faults |
Definition at line 35 of file LocalCandidate.hh.
typedef StateProperty Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::State |
Definition at line 34 of file LocalCandidate.hh.
|
inline |
Default constructor
Definition at line 46 of file LocalCandidate.hh.
|
inline |
Copy constructor
Definition at line 52 of file LocalCandidate.hh.
|
inline |
Move constructor
Definition at line 59 of file LocalCandidate.hh.
|
inline |
Parametrized constructor
Definition at line 68 of file LocalCandidate.hh.
|
inline |
Destructor
Definition at line 88 of file LocalCandidate.hh.
|
inline |
Definition at line 118 of file LocalCandidate.hh.
References Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_faults.
Referenced by std::hash< Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty > >::operator()(), Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator==(), and printSolution().
|
inline |
Difference operator (value)
Definition at line 102 of file LocalCandidate.hh.
|
inline |
Assignment operator
Definition at line 75 of file LocalCandidate.hh.
References Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_faults, and Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_state.
|
inline |
Equality operator (value)
Definition at line 94 of file LocalCandidate.hh.
References Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_faults, Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_state, Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::faults(), and Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::state().
|
inline |
Definition at line 110 of file LocalCandidate.hh.
References Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::_state.
Referenced by std::hash< Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty > >::operator()(), Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator==(), and printSolution().
|
private |
Definition at line 39 of file LocalCandidate.hh.
Referenced by Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::faults(), Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator=(), and Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator==().
|
private |
Definition at line 38 of file LocalCandidate.hh.
Referenced by Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator=(), Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::operator==(), and Diades::Automata::Experimental::LocalCandidate< StateProperty, FaultProperty >::state().