public class Occurrence<V extends Variable> extends Object implements VariableSelector<V>, VariableEvaluator<V>
| Constructor and Description |
|---|
Occurrence() |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(V variable)
Evaluates the heuristic that is minimized in order to find the best variable
|
V |
getVariable(V[] variables)
Provides access to the current selected variable among
variables. |
public V getVariable(V[] variables)
VariableSelectorvariables.
If there is no variable left, return null.getVariable in interface VariableSelector<V extends Variable>null otherwise.public double evaluate(V variable)
VariableEvaluatorevaluate in interface VariableEvaluator<V extends Variable>variable - array of variableCopyright © 2018. All rights reserved.