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)
VariableSelector
variables
.
If there is no variable left, return null
.getVariable
in interface VariableSelector<V extends Variable>
null
otherwise.public double evaluate(V variable)
VariableEvaluator
evaluate
in interface VariableEvaluator<V extends Variable>
variable
- array of variableCopyright © 2015. All rights reserved.