Class Largest

    • Constructor Detail

      • Largest

        public Largest()
    • Method Detail

      • getVariable

        public IntVar getVariable​(IntVar[] 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<IntVar>
        Returns:
        the current selected variable if any, null otherwise.
      • evaluate

        public double evaluate​(IntVar 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<IntVar>
        Parameters:
        variable - array of variable
        Returns:
        the result of the evaluation, to minimize