Configuration describing the values passed to a weighting function.
More...
#include <bindingObjects.hpp>
Configuration describing the values passed to a weighting function.
strus::WeightingConfig::WeightingConfig |
( |
| ) |
|
|
inline |
void strus::WeightingConfig::defineFeature |
( |
const String & |
sumtype, |
|
|
const String & |
set |
|
) |
| |
|
inline |
Define a weighting feature.
- Parameters
-
[in] | sumtype | type name of the feature as defined in the weighting function implementation |
[in] | set | feature set of the feature used to address the features |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
const Variant & |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
int |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
unsigned int |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
double |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
const char * |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
void strus::WeightingConfig::defineParameter |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
|
inline |
Define a parameter used for weighting.
- Parameters
-
[in] | name | name of the parameter as defined in the weighting function implementation |
[in] | value | value of the parameter |
The documentation for this class was generated from the following file: