org.cpsolver.studentsct.constraint

## Interface LinkedSections.ConflictHandler

- Enclosing class:
    LinkedSections

      public static interface LinkedSections.ConflictHandler

  Helper interface to process conflicts in `LinkedSections.computeConflicts(Enrollment, EnrollmentAssignment, ConflictHandler)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `onConflict(Enrollment conflict)` Called when there is a conflict, if false the computation of other conflicts is stopped.

- - ### Method Detail

    - #### onConflict

          boolean onConflict(Enrollment conflict)

      Called when there is a conflict, if false the computation of other conflicts is stopped.
      Parameters:
        `conflict` - a conflicting enrollment
      Returns:
        stop the computation when false