costDifference

Represents the difference in cost between the current solution and a potential new solution in the simulated annealing process. This value directly influences the acceptance probability of new solutions as the algorithm progresses.

The value is initialized to Double.NaN and updated during the computation of the algorithm. It can only be modified internally within the containing class to ensure controlled updates with calculated values.