Package org.ddolib.examples.msct
Class MSCTGenerator
java.lang.Object
org.ddolib.examples.msct.MSCTGenerator
Contains methods to generates instance of the MSCT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidwriteInstance(String fname, int n, long seed) Generates and writes instances for the MSCT
-
Constructor Details
-
MSCTGenerator
public MSCTGenerator()
-
-
Method Details
-
writeInstance
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
- Throws:
IOException
-