MarkovChainLength typedef Null safety
Function returning an integer representing a Markov chain length (the number of simulated annealing iterations performed at constant temperature).
- temparture: The current system temperature.
- grid: The currently used grid. (A numerical grid can be used to transform a continuous problem into a discrete one.)
typedef MarkovChainLength = int Function(num temperature, List<int> grid);