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