org.cpsolver.studentsct.online.selection

## Interface ResectioningWeights.LastSectionProvider

- Enclosing class:
    ResectioningWeights

      public static interface ResectioningWeights.LastSectionProvider

  Compare the old assignment with the current one

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `sameLastChoice(Section current)` Check the choice (see `Choice`)
    `boolean` | `sameLastName(Section current, Course course)` Check section name (external id)
    `boolean` | `sameLastRoom(Section current)` Check the room
    `boolean` | `sameLastTime(Section current)` Check the time

- - ### Method Detail

    - #### sameLastChoice

          boolean sameLastChoice(Section current)

      Check the choice (see `Choice`)
      Parameters:
        `current` - current section
      Returns:
        true if the choice matches

    - #### sameLastTime

          boolean sameLastTime(Section current)

      Check the time
      Parameters:
        `current` - current section
      Returns:
        true if the time matches

    - #### sameLastRoom

          boolean sameLastRoom(Section current)

      Check the room
      Parameters:
        `current` - current section
      Returns:
        true if the room matches

    - #### sameLastName

          boolean sameLastName(Section current,
                               Course course)

      Check section name (external id)
      Parameters:
        `current` - current section
        `course` - current course
      Returns:
        true if the section name matches