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() |
void |
setDuration(IntVar duration) |
void |
setEnd(IntVar end) |
void |
setStart(IntVar start) |
public void ensureBoundConsistency() throws ContradictionException
ContradictionException
public IntVar getStart()
public void setStart(IntVar start)
public IntVar getDuration()
public void setDuration(IntVar duration)
public IntVar getEnd()
public void setEnd(IntVar end)
Copyright © 2015. All rights reserved.