| SystemPerformanceOptimizationContextUpdateLevel Method |
Updates the performance level for the current iteration
of a
CrossEntropyProgram executing in
this context
and determines the corresponding elite sample.
Namespace:
Novacta.Analytics.Advanced
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax protected override sealed double UpdateLevel(
DoubleMatrix performances,
DoubleMatrix sample,
EliteSampleDefinition eliteSampleDefinition,
double rarity,
out DoubleMatrix eliteSample
)
Protected Overrides NotOverridable Function UpdateLevel (
performances As DoubleMatrix,
sample As DoubleMatrix,
eliteSampleDefinition As EliteSampleDefinition,
rarity As Double,
<OutAttribute> ByRef eliteSample As DoubleMatrix
) As Double
protected:
virtual double UpdateLevel(
DoubleMatrix^ performances,
DoubleMatrix^ sample,
EliteSampleDefinition eliteSampleDefinition,
double rarity,
[OutAttribute] DoubleMatrix^% eliteSample
) override sealed
abstract UpdateLevel :
performances : DoubleMatrix *
sample : DoubleMatrix *
eliteSampleDefinition : EliteSampleDefinition *
rarity : float *
eliteSample : DoubleMatrix byref -> float
override UpdateLevel :
performances : DoubleMatrix *
sample : DoubleMatrix *
eliteSampleDefinition : EliteSampleDefinition *
rarity : float *
eliteSample : DoubleMatrix byref -> float
Parameters
- performances
- Type: Novacta.AnalyticsDoubleMatrix
The performances of the
points in the current sample.
- sample
- Type: Novacta.AnalyticsDoubleMatrix
The current sample.
- eliteSampleDefinition
- Type: Novacta.Analytics.AdvancedEliteSampleDefinition
The elite sample mode.
- rarity
- Type: SystemDouble
The rarity applied to define the elite sample.
- eliteSample
- Type: Novacta.AnalyticsDoubleMatrix
The elite sample.
Return Value
Type:
Double
The performance level for the current iteration.
Exceptions Remarks
Method
UpdateLevel
is intended to be responsible for sorting the performances,
compute the corresponding performance level for
the current iteration and
return the elite sample. As a consequence, a context should also
give its definition of elite sample points, by overriding
property EliteSampleDefinition.
See Also