Class Schedular

  • Direct Known Subclasses:
    TimeTable

    public abstract class Schedular
    extends Object
    It is the abstraction of the TimeTable class

    Schedular class diagram

    • Constructor Detail

      • Schedular

        public Schedular()
    • 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