Click or drag to resize

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
)

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
ExceptionCondition
ArgumentNullExceptionperformances is null.
-or-
sample is null.
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