|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection
net.sf.cpsolver.studentsct.heuristics.selection.OnlineSelection.EpsilonSelection
public class OnlineSelection.EpsilonSelection
Branch & bound selection for a student
| Field Summary |
|---|
| Fields inherited from class net.sf.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection |
|---|
iAssignment, iBestAssignment, iBestValue, iStudent, iT0, iT1, iTimeoutReached, iValues |
| Constructor Summary | |
|---|---|
OnlineSelection.EpsilonSelection(Student student,
BranchBoundSelection.Selection selection)
Constructor |
|
| Method Summary | |
|---|---|
Enrollment |
firstConflict(int idx,
Enrollment enrollment)
First conflicting enrollment |
protected double |
getAssignmentPenalty(int i)
Assignment penalty |
StudentPreferencePenalties |
getPenalties()
Student preference penalties |
boolean |
isAllowed(int idx,
Enrollment enrollment)
|
BranchBoundSelection.BranchBoundNeighbour |
select()
Execute branch & bound, return the best found schedule for the selected student. |
| Methods inherited from class net.sf.cpsolver.studentsct.heuristics.selection.BranchBoundSelection.Selection |
|---|
backTrack, canAssign, canLeaveUnassigned, getBestAssignment, getBestNrAssigned, getBestValue, getBound, getBound, getDistanceConflicts, getNrAssigned, getNrAssignedBound, getPenalty, getPenaltyBound, getTime, getTimeOverlappingConflicts, getValue, getWeight, inConflict, isTimeoutReached, saveBest, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OnlineSelection.EpsilonSelection(Student student,
BranchBoundSelection.Selection selection)
student - selected student| Method Detail |
|---|
public BranchBoundSelection.BranchBoundNeighbour select()
select in class BranchBoundSelection.Selectionprotected double getAssignmentPenalty(int i)
getAssignmentPenalty in class BranchBoundSelection.Selection
public boolean isAllowed(int idx,
Enrollment enrollment)
public Enrollment firstConflict(int idx,
Enrollment enrollment)
firstConflict in class BranchBoundSelection.Selectionpublic StudentPreferencePenalties getPenalties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||