Maps a set of component IDs to (hypothesized) faulty states. More...
#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DataTypes/Candidate.hpp>
Public Member Functions | |
FaultSet * | getFaults () |
void | setFaults (const FaultSet &) |
double | getWeight () const |
Maps a set of component IDs to (hypothesized) faulty states.
FaultSet * Candidate::getFaults | ( | ) |
Returns the set of hypothesized faults.
double Candidate::getWeight | ( | ) | const |
Returns the weight of this candidate relative to others in the diagnosis.
Weights in a candidate set are normalized upon creation of DiagnosisData, such that they add up to 1.
void Candidate::setFaults | ( | const FaultSet & | f | ) |
Sets the fault set to specified hypothesized faults.