org.cpsolver.coursett.heuristics

## Class HeuristicSelector.Element

- java.lang.Object
- - org.cpsolver.coursett.heuristics.HeuristicSelector.Element

- Enclosing class:
    HeuristicSelector<E>

      public class HeuristicSelector.Element
      extends Object

  An element in heuristical selection

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `E` | `getObject()` given object
    `double` | `getValue(int level)` weighted sum in the given level
    `double[]` | `getValues()` weighted sum in each level
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getValues

          public double[] getValues()

      weighted sum in each level
      Returns:
        weighted sum for each level

    - #### getValue

          public double getValue(int level)

      weighted sum in the given level
      Parameters:
        `level` - a level
      Returns:
        weighted sum for the given level

    - #### getObject

          public E getObject()

      given object
      Returns:
        the object in the selection

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`