fullquottel
|
structure to store the rating of an ratio test: More...
Public Member Functions | |
double | rate (double value) const |
RatioRating () | |
Public Member Functions inherited from RatingBase | |
RatingBase () |
Public Attributes | |
double | threshold |
double | factor |
Public Attributes inherited from RatingBase | |
bool | active |
to turn the test on and off. | |
double | score |
score that should be added if the test succeeds. |
structure to store the rating of an ratio test:
resultscore = (value >= threshold) ? score + value * factor : 0;
RatioRating::RatioRating | ( | ) |
double RatioRating::rate | ( | double | value | ) | const |
double RatioRating::threshold |
double RatioRating::factor |