openModeller
Version 1.4.0
|
Public Member Functions | |
DummyRule (int id=-1) | |
GarpRule * | objFactory () const |
int | getStrength (const Sample &) const |
double | getValue (const Sample &) const |
bool | applies (const Sample &) const |
int | getId () |
void | setPerformance (PerfIndex index, double newPerf) |
Private Attributes | |
int | _id |
Definition at line 35 of file test_ruleset.cpp.
DummyRule::DummyRule | ( | int | id = -1 | ) |
bool DummyRule::applies | ( | const Sample & | ) | const [inline, virtual] |
Implements GarpRule.
Definition at line 42 of file test_ruleset.cpp.
int DummyRule::getId | ( | ) | [inline] |
Definition at line 44 of file test_ruleset.cpp.
References _id.
int DummyRule::getStrength | ( | const Sample & | ) | const [inline, virtual] |
Implements GarpRule.
Definition at line 40 of file test_ruleset.cpp.
double DummyRule::getValue | ( | const Sample & | ) | const [inline] |
Definition at line 41 of file test_ruleset.cpp.
GarpRule* DummyRule::objFactory | ( | ) | const [inline, virtual] |
Implements GarpRule.
Definition at line 39 of file test_ruleset.cpp.
References DummyRule().
void DummyRule::setPerformance | ( | PerfIndex | index, |
double | newPerf | ||
) | [inline] |
Definition at line 45 of file test_ruleset.cpp.
References GarpRule::_performance.
Referenced by TEST().
int DummyRule::_id [private] |
Definition at line 48 of file test_ruleset.cpp.
Referenced by DummyRule(), and getId().