Inheritance diagram for RatioRating:
Public Member Functions | |
double | rate (double value) const |
RatioRating () | |
Public Attributes | |
double | threshold |
double | factor |
resultscore = (value >= threshold) ? score + value * factor : 0;
RatioRating::RatioRating | ( | ) |
double RatioRating::rate | ( | double | value | ) | const |
double RatioRating::threshold |
double RatioRating::factor |