org.cpsolver.studentsct.online.selection

## Class OnlineSectioningCriterion.TimeToAvoid

- java.lang.Object
- - org.cpsolver.studentsct.online.selection.OnlineSectioningCriterion.TimeToAvoid

- Enclosing class:
    OnlineSectioningCriterion

      public static class OnlineSectioningCriterion.TimeToAvoid
      extends Object

  Time to be avoided.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeToAvoid(TimeLocation time, int penalty, int priority)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `overlap(TimeLocation time)`
    `int` | `priority()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### TimeToAvoid

          public TimeToAvoid(TimeLocation time,
                             int penalty,
                             int priority)

  - ### Method Detail

    - #### priority

          public int priority()

    - #### overlap

          public double overlap(TimeLocation time)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`