|
fullquottel
|
Structure to store the rating of an integer test: More...
Public Member Functions | |
| double | rate (int value) const |
Public Member Functions inherited from RatingBase | |
| RatingBase () | |
Public Attributes | |
| int | threshold |
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 integer test:
resultscore = (value >= threshold) ? score : 0;
| double IntegerRating::rate | ( | int | value | ) | const |
| int IntegerRating::threshold |
1.8.5