- java.lang.Object
-
- fr.inria.mochy.core.timetable.TableDependency
-
public class TableDependency extends Object
A dependency between a pair of events is a constraint imposing that a start event ocurs before an End event a duration also specifies the minimal amount of time that have to elapse between two events.
-
-
Constructor Summary
Constructors Constructor Description TableDependency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDuration()
int
getEndEvent()
Integer
getGoal()
returns the goal of a table dependency (event number)Integer
getOrigin()
returns the origin of a table dependency (event number)int
getStartEvent()
void
setDuration(float number)
void
setEndEvent(Number number)
void
setStartEvent(Number number)
-
-
-
Method Detail
-
getOrigin
public Integer getOrigin()
returns the origin of a table dependency (event number)- Returns:
-
getGoal
public Integer getGoal()
returns the goal of a table dependency (event number)- Returns:
-
getStartEvent
public int getStartEvent()
-
getEndEvent
public int getEndEvent()
-
getDuration
public float getDuration()
-
setStartEvent
public void setStartEvent(Number number)
-
setEndEvent
public void setEndEvent(Number number)
-
setDuration
public void setDuration(float number)
-
-