LoggingSimulator class Null safety

Annealing simulator capable of logging variables via an object of type DataRecorder.

Inheritance

Constructors

LoggingSimulator(EnergyField field, {num gammaStart = 0.8, num gammaEnd = 0.1, int iterations = 750})
Constructs an object of type LoggingSimulator.

Properties

acceptanceProbability num
Acceptance probability of current solution.
read-only, inherited
acceptanceProbabilityLog List<num>
Returns the current acceptance probability log.
read-only
currentEnergy num
Energy at current field position.
read-only, inherited
currentEnergyLog List<num>
Returns the current energy log.
read-only
currentGrid List<int>
Returns the grid used in the current iteration step.
read-only, inherited
currentMinEnergy num
Current energy minimum.
read-only, inherited
currentMinEnergyLog List<num>
Returns the current min. energy log.
read-only
currentMinPosition List<num>
Current energy minimizing solution.
read-only, inherited
currentPosition List<num>
Current field position.
read-only, inherited
currentPositionLog List<List<num>>
Returns the current position log.
read-only
deltaPosition List<num>
Current perturbation magnitude.
read-only, inherited
deltaPositionEnd List<num>
Returns the perturbation magnitudes at the end of the annealing cycle.
read / write, inherited
deltaPositionLog List<List<num>>
Returns the current perturbation magnitude log.
read-only
deltaPositionStart List<num>
Returns the initial perturbation magnitudes.
read / write, inherited
gammaEnd num
Acceptance probability at temperature tEnd.
final, inherited
gammaStart num
Acceptance probability at temperature tStart.
final, inherited
globalMinEnergy num
Global energy minimum.
read-only, inherited
globalMinPosition List<num>
Global energy minimizing solution.
read-only, inherited
grid Future<List<List<int>>>
Returns the currently used sequence of grid vectors.
read-only, inherited
gridEnd List<int>
Returns the number of grid points along each dimension at the end of the annealing process.
read / write, inherited
gridStart List<int>
Returns the grid sizes at the beginning of the annealing process.
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
info Future<String>
Returns a String containing object info.
read-only, inherited
iterations int
Number of outer simulated annealing iterations.
final, inherited
logCount int
Returns the number times recordLog() was called.
read-only
perturbationMagnitudes Future<List<List<num>>>
Returns the sequence of perturbation magnitudes.
read-only, inherited
perturbationSequence PerturbationSequence
Function used to calculate the sequence of pertubation magnitudes.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startPosition List<num>
Returns the starting position of the annealing process.
read / write, inherited
t num
Current temperature.
read-only, inherited
temperatureLog List<num>
Returns the current temperature log.
read-only
temperatures Future<List<num>>
The annealing temperatures (annealing schedule).
read-only, inherited
temperatureSequence TemperatureSequence
Function used to calculate the temperature sequence.
read / write, inherited
tEnd Future<num>
Final annealing temperature.
read-only, inherited
tStart Future<num>
Initial annealing temperature.
read-only, inherited

Methods

anneal(MarkovChainLength markov, {bool isRecursive = false, num ratio = 0.5, bool isVerbose = false}) Future<List<num>>
Starts the simulated annealing process and returns the best solution found.
inherited
export({int precision = 10, String delimiter = ' '}) String
exportFirst({int precision = 10, String delimiter = ' '}) String
exportLast({int precision = 10, String delimiter = ' '}) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
prepareLog() → void
Method called once from within anneal before any simulated annealing iterations.
override
recordLog() → void
Method called during each (inner) iteration.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited