Class OutputReadme

java.lang.Object
simpaths.experiment.OutputReadme

public class OutputReadme extends Object
WRITES A README ALONGSIDE THE CSV OUTPUT OF A SIMULATION RUN The README records the configuration the run was executed under - population size, simulated years, alignment switches, whether regression coefficients were bootstrapped - together with a description of each CSV file written beside it. Output folders outlive the configuration that produced them, so a run whose settings are not recorded next to its results cannot be interpreted with confidence later on.
  • Method Details

    • write

      public static void write(SimPathsCollector collector, SimPathsModel model)
      WRITE README.md INTO THE CSV OUTPUT DIRECTORY Failure to write the README must never interrupt a simulation, so all errors are logged rather than propagated.
      Parameters:
      collector - the collector holding the output toggles for this run
      model - the simulation manager holding the run configuration