Constructs a CustomAnnealingSchedule instance.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public CustomAnnealingSchedule(
	int[] iterations,
	double[] temperatures,
	double tolerance
)
Visual Basic (Declaration)
Public Sub New ( _
	iterations As Integer(), _
	temperatures As Double(), _
	tolerance As Double _
)
Visual C++
public:
CustomAnnealingSchedule(
	array<int>^ iterations, 
	array<double>^ temperatures, 
	double tolerance
)

Parameters

iterations
Type: array< System..::.Int32 >[]()[]
The number of iterations to perform at each temperature.
temperatures
Type: array< System..::.Double >[]()[]
The temperature at each step.
tolerance
Type: System..::.Double
The error tolerance.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the number of iterations is different from the number of temperatures.
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if the number of steps is less than one, any iteration is less than one, any temperature is negative, or the last temperature is not zero.

See Also