public static class GroupConstraint.Block extends Object
Constructor and Description |
---|
Block(int maxSlotsBetweenBTB) |
Modifier and Type | Method and Description |
---|---|
boolean |
addSection(org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection section) |
boolean |
contains(TeachingAssignment ta) |
int |
getEndSlotCurrentBlock() |
int |
getLengthInSlots() |
int |
getNbrPlacements() |
List<org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection> |
getSections() |
int |
getStartSlotCurrentBlock() |
boolean |
haveSameStartTime() |
String |
toString() |
public Block(int maxSlotsBetweenBTB)
public boolean addSection(org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection section)
public boolean haveSameStartTime()
public int getStartSlotCurrentBlock()
public int getEndSlotCurrentBlock()
public int getNbrPlacements()
public List<org.cpsolver.instructor.constraints.GroupConstraint.TeachingAssignmentSection> getSections()
public int getLengthInSlots()
public boolean contains(TeachingAssignment ta)