public abstract static class GroupConstraint.SimpleCheck extends GroupConstraint.PairCheck
Constructor and Description |
---|
SimpleCheck() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfied(GroupConstraint.Distribution distribution,
Assignment<TeachingRequest.Variable,TeachingAssignment> assignment,
Instructor instructor,
Section s1,
Section s2) |
abstract boolean |
isSatisfied(GroupConstraint.Distribution d,
Section s1,
Section s2) |
boolean |
isViolated(GroupConstraint.Distribution distribution,
Assignment<TeachingRequest.Variable,TeachingAssignment> assignment,
Instructor instructor,
Section s1,
Section s2) |
boolean |
isViolated(GroupConstraint.Distribution d,
Section s1,
Section s2) |
computeConflicts, getValue
public SimpleCheck()
public abstract boolean isSatisfied(GroupConstraint.Distribution d, Section s1, Section s2)
public boolean isViolated(GroupConstraint.Distribution d, Section s1, Section s2)
public boolean isSatisfied(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)
isSatisfied
in class GroupConstraint.PairCheck
public boolean isViolated(GroupConstraint.Distribution distribution, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment, Instructor instructor, Section s1, Section s2)
isViolated
in class GroupConstraint.PairCheck