Click or drag to resize

SystemPerformanceOptimizerOptimize Method

Runs a Cross-Entropy program designed to optimize a system's performance in the specified context.

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public SystemPerformanceOptimizationResults Optimize(
	SystemPerformanceOptimizationContext context,
	double rarity,
	int sampleSize
)

Parameters

context
Type: Novacta.Analytics.AdvancedSystemPerformanceOptimizationContext
The Cross-Entropy context representing the optimization problem to solve.
rarity
Type: SystemDouble
The rarity applied by the Cross-Entropy method.
sampleSize
Type: SystemInt32
The size of the samples drawn during the sampling step of the Cross-Entropy method.

Return Value

Type: SystemPerformanceOptimizationResults
The results of the Cross-Entropy optimizer.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontext is null.
ArgumentOutOfRangeExceptionsampleSize is not positive.
-or-
rarity is not positive.
-or-
rarity is not less than 1.
Remarks

For a thorough description of the method and an example of how to use it, see the remarks about the SystemPerformanceOptimizer class.

See Also