public class MaxHolesFlexibleConstraint.MaxHolesFlexibleConstraintContext extends FlexibleConstraint.FlexibleConstraintContext
iLastPreference
Constructor and Description |
---|
MaxHolesFlexibleConstraintContext(Assignment<Lecture,Placement> assignment) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxHoles(int dayCode,
BitSet week) |
void |
weaken(Assignment<Lecture,Placement> assignment,
Placement value) |
assigned, getPreference, unassigned, updateCriterion
public MaxHolesFlexibleConstraintContext(Assignment<Lecture,Placement> assignment)
public void weaken(Assignment<Lecture,Placement> assignment, Placement value)
public int getMaxHoles(int dayCode, BitSet week)