orbtree
|
example function: key^, i.e. raise the key for a given power; version for a map, where the mapped value is the number of occurrences of the key More...
#include <orbtree.h>
Public Types | |
typedef double | result_type |
result is double | |
typedef KeyType | argument_type |
function argument is the key stored in the tree | |
typedef double | ParType |
exponent is double | |
Public Member Functions | |
double | operator() (const KeyType &k, double a) const |
now the parameter is assumed to be a pair of the value and the number of occurrences | |
example function: key^, i.e. raise the key for a given power; version for a map, where the mapped value is the number of occurrences of the key