Abstract method must be implemented in sub-classes.
Abstract method must be implemented in sub-classes. Provides access to all different possible worlds we will evaluate for each call to 'process'
The number of calls to process that resulted in a change (a non-empty DiffList)
The number of calls to process that resulted in a change (a non-empty DiffList)
The number of calls to process(numIterations:Int) or process(contexts:C,numIterations:Int).
The number of calls to process(numIterations:Int) or process(contexts:C,numIterations:Int).
If true, calls to "newDiffList" will create a new DiffList to describe the changes they made, otherwise "newDiffList" will return null.
If true, calls to "newDiffList" will create a new DiffList to describe the changes they made, otherwise "newDiffList" will return null.
In your implementation of "process1" use this method to optionally create a new DiffList, obeying "makeNewDiffList".
In your implementation of "process1" use this method to optionally create a new DiffList, obeying "makeNewDiffList".
Convenient method for setting makeNewDiffList to false, and returning this.
Convenient method for setting makeNewDiffList to false, and returning this.
Called after each iteration of sampling the full list of variables.
Called after each iteration of sampling the full list of variables. Return false if you want sampling to stop early.
Call just after each step of sampling.
Call just after each step of sampling.
Called just before each step of sampling.
Called just before each step of sampling. Return an alternative variable if you want that one sampled instead. Return null if you want to abort sampling of this context.
Do one step of sampling.
Do one step of sampling. This is a method intended to be called by users. It manages hooks and processCount.
The underlying protected method that actually does the work.
The underlying protected method that actually does the work. Use this.newDiffList to optionally create returned DiffList. Needs to be defined in subclasses.
The number of calls to process(context:C)
The number of calls to process(context:C)
Instead of randomly sampling according to the distribution, always pick the setting with the maximum acceptanceScore.