net.sf.cpsolver.coursett.heuristics

## Class NeighbourSelectionWithSuggestions.SuggestionNeighbour

- java.lang.Object
- - net.sf.cpsolver.ifs.model.Neighbour<Lecture,Placement>
  - - net.sf.cpsolver.coursett.heuristics.NeighbourSelectionWithSuggestions.SuggestionNeighbour

- Enclosing class:
    NeighbourSelectionWithSuggestions

      public class NeighbourSelectionWithSuggestions.SuggestionNeighbour
      extends Neighbour<Lecture,Placement>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `assign(long iteration)` Perform assignmnet
    `int` | `compareTo(Solution<Lecture,Placement> solution)`
    `String` | `toString()`
    `double` | `value()` Difference in the evaluation function, if this neighnour is assigned.

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

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

- - ### Constructor Detail

    - #### SuggestionNeighbour

          public SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures)

  - ### Method Detail

    - #### value

          public double value()

      Description copied from class: `Neighbour`
      Difference in the evaluation function, if this neighnour is assigned.
      Specified by:
        `value` in class `Neighbour<Lecture,Placement>`

    - #### assign

          public void assign(long iteration)

      Description copied from class: `Neighbour`
      Perform assignmnet
      Specified by:
        `assign` in class `Neighbour<Lecture,Placement>`

    - #### compareTo

          public int compareTo(Solution<Lecture,Placement> solution)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`