public class FlexibleConstraint.Block extends Object
Constructor and Description |
---|
Block(int maxSlotsBetweenBTB) |
Modifier and Type | Method and Description |
---|---|
boolean |
addPlacement(Placement placement)
Adds placement to the block and updates block's attributes.
|
int |
getEndSlotCurrentBlock() |
int |
getLengthInSlots() |
int |
getNbrPlacements() |
List<Placement> |
getPlacements() |
int |
getStartSlotCurrentBlock() |
boolean |
haveSameStartTime() |
String |
toString() |
public Block(int maxSlotsBetweenBTB)
public boolean addPlacement(Placement placement)
placement
- placement to be added to the blockpublic boolean haveSameStartTime()
public int getStartSlotCurrentBlock()
public int getEndSlotCurrentBlock()
public int getNbrPlacements()
public List<Placement> getPlacements()
public int getLengthInSlots()