public class Task extends Object
Constructor and Description |
---|
Task(IntVar s,
IntVar d,
IntVar e)
Container representing a task:
It ensures that: start + duration = end
|
Modifier and Type | Method and Description |
---|---|
void |
ensureBoundConsistency()
Applies BC-filtering so that start + duration = end
|
IntVar |
getDuration() |
IntVar |
getEnd() |
IntVar |
getStart() |
String |
toString() |
public void ensureBoundConsistency() throws ContradictionException
ContradictionException
- thrown if a inconsistency has been detected between start, end and durationpublic IntVar getStart()
public IntVar getDuration()
public IntVar getEnd()
Copyright © 2018. All rights reserved.