org.cpsolver.studentsct.heuristics.selection

## Class AssignInitialSelection.InitialSelection

- java.lang.Object
- - org.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection
  - - org.cpsolver.studentsct.heuristics.selection.AssignInitialSelection.InitialSelection

- Enclosing class:
    AssignInitialSelection

      public class AssignInitialSelection.InitialSelection
      extends BranchBoundSelection.Selection

- - ### Field Summary

    - ### Fields inherited from class org.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection

      `iAssignment, iBestAssignment, iBestValue, iCurrentAssignment, iStudent, iT0, iT1, iTimeoutReached, iTimesToAvoid, iValues`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InitialSelection(Student student, Assignment<Request,Enrollment> assignment)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `backTrack(int idx)` branch & bound search

    - ### Methods inherited from class org.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection

      `canAssign, canLeaveUnassigned, firstConflict, getAssignmentPenalty, getBestAssignment, getBestNrAssigned, getBestValue, getBound, getBound, getDistanceConflicts, getNrAssigned, getNrAssignedBound, getPenalty, getPenaltyBound, getStudentQualityConflicts, getTime, getTimeOverlappingConflicts, getValue, getWeight, getWeight, inConflict, isTimeoutReached, saveBest, select, values`

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

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

- - ### Constructor Detail

    - #### InitialSelection

          public InitialSelection(Student student,
                                  Assignment<Request,Enrollment> assignment)

  - ### Method Detail

    - #### backTrack

          public void backTrack(int idx)

      Description copied from class: `BranchBoundSelection.Selection`
      branch & bound search
      Overrides:
        `backTrack` in class `BranchBoundSelection.Selection`
      Parameters:
        `idx` - index of request