public class LimitStudentTotalConstraint extends Constraint
Constructor and Description |
---|
LimitStudentTotalConstraint()
Constructor for this constraint.
|
Modifier and Type | Method and Description |
---|---|
void |
imposeConstraint(Store jacopStore,
IntVar[] variables,
Position[] positions,
Assistant[] assistants)
Limit Student Count: When a student is being assigned to
multiple positions, limit the total number of students they
can teach overall.
|
getDescription, getName, isEnabled, setDescription, setEnabled, setName, toString
public LimitStudentTotalConstraint()
public void imposeConstraint(Store jacopStore, IntVar[] variables, Position[] positions, Assistant[] assistants)
imposeConstraint
in class Constraint