Module org.maxicp

Interface IntObjective

All Superinterfaces:
Objective
All Known Implementing Classes:
Maximize, Minimize

public interface IntObjective extends Objective
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the current bound
    void
    setBound(int newBound)
    Sets the new value of the bound
    void
    setDelta(int delta)
    Sets the new value of the bound as the one of the current solution + (maximization) or - (minimization) delta
    void
    setFilter(boolean activate)
    Activates or deactivates the filtering of the objective

    Methods inherited from interface org.maxicp.search.Objective

    filter, relax, tighten
  • Method Details

    • setFilter

      void setFilter(boolean activate)
      Activates or deactivates the filtering of the objective
      Parameters:
      activate -
    • setDelta

      void setDelta(int delta)
      Sets the new value of the bound as the one of the current solution + (maximization) or - (minimization) delta
      Parameters:
      delta - a positive integer
    • setBound

      void setBound(int newBound)
      Sets the new value of the bound
      Parameters:
      newBound -
    • getBound

      int getBound()
      Returns the current bound
      Returns:
      the current bound