Class OptimalScheduleFinder

    • Constructor Detail

      • OptimalScheduleFinder

        public OptimalScheduleFinder​(OptimizingSDFScheduler scheduler,
                                     OptimizingSDFDirector.OptimizationCriteria criterion)
        Construct an instance of the OptimalScheduleFinder. Creates an object associated with the OptimizingSDFSchedule scheduler and using the optimization criterion criterion to find an optimized schedule.
        Parameters:
        scheduler - scheduler
        criterion - optimization criterion
    • Method Detail

      • makeScheduleGreedy

        public Schedule makeScheduleGreedy​(java.util.Map firingVector)
        Make a schedule using a greedy (non-optimizing algorithm).
        Parameters:
        firingVector - repetition vector
        Returns:
        the computed schedule
      • makeSchedule

        public Schedule makeSchedule​(java.util.Map firingVector)
        Make a schedule using an exhaustive BFS-like optimizing algorithm.
        Parameters:
        firingVector - repetition vector
        Returns:
        the computed schedule
      • _instantiateAnalysisModel

        protected void _instantiateAnalysisModel​(java.util.Map firingVector)
                                          throws IllegalActionException
        Instantiate the analysis model from the core model.
        Parameters:
        firingVector - contains repetition vector information
        Throws:
        IllegalActionException - if model information inconsistent