AnnealingAPI.AbstractRollbackToken
— TypeAbstract type for a rollback token returned by update_corrfns!
.
AnnealingAPI.AbstractTracker
— TypeAnnealingAPI.CCTracker
— TypeCCTracker(phase1, phase2)
Descriptor for cross-corelation function for the phases phase1
and phase2
.
NB: Cross-correlation function does not commute, i.e. CCTracker(phase1, phase2)
and CCTracker(phase2, phase1)
track different functions.
AnnealingAPI.L2Tracker
— TypeL2Tracker(phase)
Descriptor for line-segment correlation function for the phase phase
.
See also: S2Tracker
, SSTracker
, AbstractTracker
.
AnnealingAPI.S2Tracker
— TypeS2Tracker(phase)
Descriptor for two-point correlation function for the phase phase
.
See also: L2Tracker
, SSTracker
, AbstractTracker
.
AnnealingAPI.SSTracker
— TypeSSTracker(phase)
Descriptor for surface-surface correlation function for the phase phase
.
See also: S2Tracker
, L2Tracker
, AbstractTracker
.
AnnealingAPI.SVTracker
— TypeSVTracker(phase)
Descriptor for surface-void correlation function for the phase phase
.
See also: S2Tracker
, L2Tracker
, SSTracker
, AbstractTracker
.
AnnealingAPI.SimpleRollbackToken
— TypeSimpleRollbackToken(value, index)
Create a simple rollback token which just holds an index and an old value at that index.
AnnealingAPI.rollback!
— Functionrollback!(tracker, token)
Bring the system to the state before update_corrfns!
was called. token
must be an object returned by update_corrfns!
.
See also: update_corrfns!
.
AnnealingAPI.tracked_data
— Functiontracked_data(x :: AbstractArray)
Return an iterator over correlation function descriptors which are tracked by the tracker x
.
AnnealingAPI.tracked_directions
— Functiontracked_directions(x :: AbstractArray)
Return directions along which correlation functions are tracked.
AnnealingAPI.tracked_length
— Functiontracked_length(x :: AbstractArray)
Return maximal tracked correlation length
AnnealingAPI.update_corrfns!
— Functionupdate_corrfns!(tracker, value, index)
This function is equivalent to writing tracker[index] = value
with exception that it also returns a rollback handle which can fastly bring the tracker to the previous state by calling rollback!
.
See also: rollback!
.