Class CSVResponseReport

  • All Implemented Interfaces:
    ObserverIfc, GetNameIfc, IdentityIfc

    public class CSVResponseReport
    extends CSVReport
    Facilitates the collection of replication statistics for named responses to a comma separated value file. For the supplied list of responses, a CSV file is created to hold the results from each simulation replication. See SimulationDemos.demoResponseReport() for an example usage.
    • Field Detail

      • myRepCount

        protected int myRepCount
    • Constructor Detail

      • CSVResponseReport

        public CSVResponseReport​(java.nio.file.Path pathToFile,
                                 java.util.List<java.lang.String> responseNames)
        Parameters:
        pathToFile - the path to the file, must not be null
        responseNames - the model element names of the ResponseVariable, TimeWeighted, or Counter to be written to the report