| CustomAnnealingSchedule(Int32, Double, Double) Constructor |
Constructs a CustomAnnealingSchedule instance.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public CustomAnnealingSchedule(
int iteration,
double[] temperatures,
double tolerance
)
Public Sub New (
iteration As Integer,
temperatures As Double(),
tolerance As Double
)
public:
CustomAnnealingSchedule(
int iteration,
array<double>^ temperatures,
double tolerance
)
new :
iteration : int *
temperatures : float[] *
tolerance : float -> CustomAnnealingSchedule
Parameters
- iteration Int32
- The number of iterations to perform at each temperature.
- temperatures Double
- The temperature at each step.
- tolerance Double
- The error tolerance.
Exceptions Exception | Condition |
---|
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