Class Random<T extends Variable>

    • Constructor Detail

      • Random

        public Random​(long seed)
        Random variable selector
        seed - seed for random number generator.
    • Method Detail

      • getVariable

        public T getVariable​(T[] variables)
        Description copied from interface: VariableSelector
        Provides access to the current selected variable among variables. If there is no variable left, return null.
        Specified by:
        getVariable in interface VariableSelector<T extends Variable>
        the current selected variable if any, null otherwise.
      • evaluate

        public double evaluate​(T variable)
        Description copied from interface: VariableEvaluator
        Evaluates the heuristic that is minimized in order to find the best variable
        Specified by:
        evaluate in interface VariableEvaluator<T extends Variable>
        variable - array of variable
        the result of the evaluation, to minimize