Calculates the l-p weighted metrics https://en.wikipedia.org/wiki/Lp_space.
More...
|
float | Calculate (ICollection< Utility > elements) |
| Calculate the l-p weighted metrics measure for the given set of elements. More...
|
|
IMeasure | Clone () |
| Creates a new instance of the implementing class. Note that the semantics here are somewhat vague, however, by convention the "Prototype Pattern" uses a "Clone" function. Note that this may have very different semantics when compared with either shallow or deep cloning. When implementing this remember to include only the defining characteristics of the class and not its state! More...
|
|
| WeightedMetrics (float pNorm=2f) |
| Initializes a new instance of the T:Crystal.WeightedMetrics class. More...
|
|
T | Clone () |
| Creates a new instance of the implementing class. Note that the semantics here are somewhat vague, however, by convention the "Prototype Pattern" uses a "Clone" function. Note that this may have very different semantics when compared with either shallow or deep cloning. When implementing this remember to include only the defining characteristics of the class and not its state! More...
|
|
|
readonly float | PNormMin = 1.0f |
| The minimum value for T:Crystal.ConstrainedWeightedMetrics.PNorm. More...
|
|
readonly float | PNormMax = 10000.0f |
| The minimum value for T:Crystal.ConstrainedWeightedMetrics.PNorm. More...
|
|
|
float | PNorm [get, set] |
| Gets or sets the p norm used in this instance. More...
|
|
Calculates the l-p weighted metrics https://en.wikipedia.org/wiki/Lp_space.
- See also
- T:Crystal.IMeasure
Crystal.WeightedMetrics.WeightedMetrics |
( |
float |
pNorm = 2f | ) |
|
|
inline |
Initializes a new instance of the T:Crystal.WeightedMetrics class.
- Parameters
-
float Crystal.WeightedMetrics.Calculate |
( |
ICollection< Utility > |
elements | ) |
|
|
inline |
Calculate the l-p weighted metrics measure for the given set of elements.
- Parameters
-
- Returns
Implements Crystal.IMeasure.
IMeasure Crystal.WeightedMetrics.Clone |
( |
| ) |
|
|
inline |
Creates a new instance of the implementing class. Note that the semantics here are somewhat vague, however, by convention the "Prototype Pattern" uses a "Clone" function. Note that this may have very different semantics when compared with either shallow or deep cloning. When implementing this remember to include only the defining characteristics of the class and not its state!
- Returns
readonly float Crystal.WeightedMetrics.PNormMax = 10000.0f |
The minimum value for T:Crystal.ConstrainedWeightedMetrics.PNorm.
readonly float Crystal.WeightedMetrics.PNormMin = 1.0f |
The minimum value for T:Crystal.ConstrainedWeightedMetrics.PNorm.
float Crystal.WeightedMetrics.PNorm |
|
getset |
Gets or sets the p norm used in this instance.
The documentation for this class was generated from the following file:
- Source/Measures/WeightedMetrics.cs