StrictlyDecreasing monotone class.
More...
#include <keyvalue/key/generic/monotone/StrictlyDecreasing.h>
Static Public Member Functions | |
| template<typename ElementType > | |
| static bool | check (const ElementType &x, const ElementType &y) |
| Performs the comparison. | |
| static const char * | getName () |
| Gets type name. | |
StrictlyDecreasing monotone class.
Given two consecutive values of a sequence, x[i] and x[i+1], this class checks if x[i] > x[i+1].
| static bool check | ( | const ElementType & | x, | |
| const ElementType & | y | |||
| ) | [static] |
Performs the comparison.
| x | : 1st value to be checked; | |
| y | : 2nd value to be checked. | |
| ElementType | : (template parameter) Type of x and y. Accepted types are double, ptime, string and unsigned int. (Other types will generate a link error.) |
| static const char* getName | ( | ) | [static] |
Gets type name.
1.7.1