Click or drag to resize

SystemPerformanceOptimizationContext Constructor

Initializes a new instance of the SystemPerformanceOptimizationContext class having the specified state dimension, initial parameter, optimization goal, and range of iterations.

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
protected SystemPerformanceOptimizationContext(
	int stateDimension,
	DoubleMatrix initialParameter,
	OptimizationGoal optimizationGoal,
	int minimumNumberOfIterations,
	int maximumNumberOfIterations
)

Parameters

stateDimension
Type: SystemInt32
The dimension of a vector representing the state of the system whose performance must be optimized.
initialParameter
Type: Novacta.AnalyticsDoubleMatrix
The parameter initially exploited to sample arguments of the performance function while searching for the optimal one.
optimizationGoal
Type: Novacta.Analytics.AdvancedOptimizationGoal
A constant to specify if the performance function must be minimized or maximized.
minimumNumberOfIterations
Type: SystemInt32
The minimum number of iterations required by this context.
maximumNumberOfIterations
Type: SystemInt32
The maximum number of iterations allowed by this context.
Exceptions
ExceptionCondition
ArgumentNullExceptioninitialParameter is null.
ArgumentExceptionoptimizationGoal is not a field of OptimizationGoal.
-or-
minimumNumberOfIterations is greater than maximumNumberOfIterations.
ArgumentOutOfRangeExceptionminimumNumberOfIterations is not positive.
-or-
maximumNumberOfIterations is not positive.
See Also