Class MSCTGenerator

java.lang.Object
org.ddolib.examples.msct.MSCTGenerator

public class MSCTGenerator extends Object
Contains methods to generates instance of the MSCT
  • Constructor Details

    • MSCTGenerator

      public MSCTGenerator()
  • Method Details

    • writeInstance

      public static void writeInstance(String fname, int n, long seed) throws IOException
      Generates and writes instances for the MSCT
      Parameters:
      fname - The file to save the instance.
      n - The number of task in the problem.
      seed - The seed of the random number generator.
      Throws:
      IOException - If something goes wrong while writing the file.
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException