Class OpenShopProblemReader


  • public class OpenShopProblemReader
    extends java.lang.Object
    • Method Detail

      • getFromJobFileWithoutSetupTimesAndWithOneMachinePerWorkcenter

        public static OpenShopProblem getFromJobFileWithoutSetupTimesAndWithOneMachinePerWorkcenter​(java.io.File jobFile,
                                                                                                    OpenShopMetric metric)
                                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • mergeFromFiles

        public static OpenShopProblem mergeFromFiles​(java.io.File jobFile,
                                                     java.io.File setupTimesFile,
                                                     java.io.File parallelMachinesFile,
                                                     OpenShopMetric metric)
                                              throws java.io.IOException
        Reads the problem from a job file, a setup times file, and a file describing the number of parallel machines in each work center. The underlying assumption here is that all jobs have the same number of operations, one for each work center. Under this assumption, naturally each operation i of some job is assigned to the i-th work center by convention. In addition, we assume that each operation has a specific status required for the machines.
        Parameters:
        jobFile -
        setupTimesFile -
        parallelMachinesFile -
        Returns:
        Throws:
        java.io.IOException