org.cpsolver.studentsct.heuristics.selection

## Class UnassignedCriticalCourseRequestSelection

- java.lang.Object
- - org.cpsolver.studentsct.heuristics.selection.UnassignedCriticalCourseRequestSelection

- All Implemented Interfaces:
    VariableSelection<Request,Enrollment>

      public class UnassignedCriticalCourseRequestSelection
      extends Object
      implements VariableSelection<Request,Enrollment>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Queue<Request>` | `iRequests`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `init(Solver<Request,Enrollment> solver)` Initialization
    `protected Request` | `nextRequest(Solution<Request,Enrollment> solution)`
    `Request` | `selectVariable(Solution<Request,Enrollment> solution)` Variable selection

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

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

- - ### Field Detail

    - #### iRequests

          protected Queue<Request> iRequests

  - ### Method Detail

    - #### init

          public void init(Solver<Request,Enrollment> solver)

      Description copied from interface: `VariableSelection`
      Initialization
      Specified by:
        `init` in interface `VariableSelection<Request,Enrollment>`
      Parameters:
        `solver` - current solver

    - #### selectVariable

          public Request selectVariable(Solution<Request,Enrollment> solution)

      Description copied from interface: `VariableSelection`
      Variable selection
      Specified by:
        `selectVariable` in interface `VariableSelection<Request,Enrollment>`
      Parameters:
        `solution` - current solution
      Returns:
        selected variable

    - #### nextRequest

          protected Request nextRequest(Solution<Request,Enrollment> solution)