Constructs a CustomAnnealingSchedule instance.

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

Syntax

C#
public CustomAnnealingSchedule(
	int iteration,
	DoubleVector temperatures
)
Visual Basic (Declaration)
Public Sub New ( _
	iteration As Integer, _
	temperatures As DoubleVector _
)
Visual C++
public:
CustomAnnealingSchedule(
	int iteration, 
	DoubleVector^ temperatures
)

Parameters

iteration
Type: System..::.Int32
The number of iterations to perform at each temperature.
temperatures
Type: CenterSpace.NMath.Core..::.DoubleVector
The temperature at each step.

Remarks

Uses the default tolerance.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if the number of iterations is less than one, there is less than one temperature, any temperature is negative, or the last temperature is not zero.

See Also