Click or drag to resize

CrossEntropyContext Constructor

Initializes a new instance of the CrossEntropyContext class having the specified state dimension.

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
protected CrossEntropyContext(
	int stateDimension,
	DoubleMatrix initialParameter
)

Parameters

stateDimension
Type: SystemInt32
The state dimension.
initialParameter
Type: Novacta.AnalyticsDoubleMatrix
The parameter from which samples are drawn while executing the first iteration of a Cross-Entropy program in this context.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionstateDimension is not positive.
ArgumentNullExceptioninitialParameter is null.
See Also