public class SwapStudentSelection.Selection extends Object
Modifier and Type | Method and Description |
---|---|
Enrollment |
getBestEnrollment()
The best enrollment found.
|
double |
getBestValue()
Cost of the best enrollment found
|
Set<Student> |
getProblemStudents()
Set of problematic students computed in the last selection
|
long |
getTime()
Time spent in the last selection
|
boolean |
isTimeoutReached()
Was timeout reached during the selection
|
SwapStudentSelection.SwapStudentNeighbour |
select()
The actual selection
|
public SwapStudentSelection.SwapStudentNeighbour select()
public boolean isTimeoutReached()
public long getTime()
public Enrollment getBestEnrollment()
public double getBestValue()
public Set<Student> getProblemStudents()