- java.lang.Object
-
- fr.inria.mochy.core.abstractClass.Schedular
-
-
Constructor Summary
Constructors Constructor Description Schedular()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
fileLoading()
load the input fileabstract ArrayList<TableDependency>
getDependencies()
return the list of the dependencies between the eventsabstract TableEvent
getEvent(Integer evtid)
retrieve an evenet by its idabstract HashMap<Integer,TableEvent>
getEvents()
list the events which can be retrieved by their id numberprotected abstract String
handleLine(String ln, int lineNb)
handle a line (of the input file) specified in parameterabstract ArrayList<TableEvent>
minList()
returns the list of minimal events for a timetable e.g.abstract ArrayList<TableEvent>
minListUnexecuted()
returns the list of minimal events that are not yet executed.abstract void
PropagateDelay(Integer nb, float Delay)
propagate a delay from an event nb on all its sucessors
-
-
-
Method Detail
-
fileLoading
public abstract String fileLoading()
load the input file
-
handleLine
protected abstract String handleLine(String ln, int lineNb)
handle a line (of the input file) specified in parameter
-
getEvents
public abstract HashMap<Integer,TableEvent> getEvents()
list the events which can be retrieved by their id number
-
getDependencies
public abstract ArrayList<TableDependency> getDependencies()
return the list of the dependencies between the events
-
getEvent
public abstract TableEvent getEvent(Integer evtid)
retrieve an evenet by its id
-
minList
public abstract ArrayList<TableEvent> minList()
returns the list of minimal events for a timetable e.g. they have no predecessors or executed predecessors
-
minListUnexecuted
public abstract ArrayList<TableEvent> minListUnexecuted()
returns the list of minimal events that are not yet executed. in a timetable we search every event that has only executed predecessors or none
-
PropagateDelay
public abstract void PropagateDelay(Integer nb, float Delay)
propagate a delay from an event nb on all its sucessors
-
-