public interface PerturbationsCounter<V extends Variable<V,T>,T extends Value<V,T>>
Solver
,
Solution
,
Variable
Modifier and Type  Method and Description 

void 
getInfo(Map<String,String> info,
Model<V,T> model)
Some (perturbation) information about the solution might be returned
here.

void 
getInfo(Map<String,String> info,
Model<V,T> model,
Collection<V> variables)
Some (perturbation) information about the solution might be returned here
(only include variables from the given set).

double 
getPerturbationPenalty(Model<V,T> model)
Returns perturbation penalty, i.e., the distance between current solution
and the solution of the initial problem (see
Variable.getInitialAssignment() ). 
double 
getPerturbationPenalty(Model<V,T> model,
Collection<V> variables)
Returns perturbation penalty, i.e., the distance between current solution
and the solution of the initial (only include variables from the given
set) problem (see
Variable.getInitialAssignment() ). 
double 
getPerturbationPenalty(Model<V,T> model,
T selectedValue,
Collection<T> conflicts)
Returns perturbation penalty of the solution which become from the
current solution when given conflicting values are unassigned and the
selected value is assigned.

void 
init(Solver<V,T> solver)
Initialization

double getPerturbationPenalty(Model<V,T> model)
Variable.getInitialAssignment()
).model
 current modeldouble getPerturbationPenalty(Model<V,T> model, Collection<V> variables)
Variable.getInitialAssignment()
).model
 current modeldouble getPerturbationPenalty(Model<V,T> model, T selectedValue, Collection<T> conflicts)
model
 current modelselectedValue
 value to be selected in the next iterationconflicts
 conflicting values to be unassigned in the next iterationvoid getInfo(Map<String,String> info, Model<V,T> model)
info
 resultant info tablemodel
 current model