|
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. More... | |
| double | score |
| score that should be added if the test succeeds. More... | |
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 |
1.8.5