KSLDatabase
Constructors
Properties
If true the underlying database was configured as a KSLDatabase
Returns the names of the experiments in the EXPERIMENT table.
Functions
Retrieves the across-replication statistic records associated with the named experiment.
Retrieves the batch-statistic records associated with the named experiment.
Clears all data from user defined tables
Deletes all simulation data associated with the supplied model. In other words, the simulation run data associated with a simulation with the name and the experiment with the name.
Retrieves the control records associated with the named experiment. Returns an empty list if no experiment with expName exists.
The expName should be unique within the database. Many experiments can be run with different names for the same simulation. This method deletes the experiment record with the provided name AND all related data associated with that experiment. If an experiment record does not exist with the expName, then nothing occurs.
Deletes by manual cascading any records related to the experiment with the provided name. If the database does not contain the specified experiment, then nothing occurs.
Checks if the supplied experiment name exists within the database. Experiment names should be unique within the database
Retrieves the data for the named experiment or null if an experiment with the provided expName name is not found in the database
Returns all frequency cell records associated with the named experiment, or an empty list if the experiment is not found or has no frequency data.
Returns all histogram bin records associated with the named experiment, or an empty list if the experiment is not found or has no histogram data.
Retrieves the model-element records associated with the named experiment. Returns an empty list if no experiment with expName exists.
This prepares a map that can be used with MultipleComparisonAnalyzer and returns the MultipleComparisonAnalyzer. If the set of simulation runs does not contain the provided experiment name, then an IllegalArgumentException occurs. If there are multiple simulation runs with the same experiment name, then an IllegalArgumentException occurs. In other words, when running the experiments, the user must make the experiment names unique in order for this map to be built.
Returns a map of maps. The outer map has the experiment name as its key. The inner map has the response's name as the key and the replication results as a double array. The array contains the observed replication statistic for the response variable or the final count for a counter for each replication.
Returns a map of maps. The outer map has the experiment name as its key. The inner map has the response's name as the key and the replication results as a list of double values. The list contains the observed replication statistic for the response variable or the final count for a counter for each replication.
Retrieves the random-variable parameter records associated with the named experiment. Returns an empty list if no experiment with expName exists.
Retrieves the simulation-run records associated with the named experiment. Returns an empty list if no experiment with expName exists.
Retrieves the time-series response records associated with the named experiment.
Builds a ReportNode.Document containing a complete multiple-comparison analysis of one response across several experiments stored in this database.
Builds a ReportNode.Document for the stored integer-frequency data of one experiment.
Builds a ReportNode.Document for the stored histogram data of one experiment.
Builds a ReportNode.Document covering all experiments stored in this database.
Builds a ReportNode.Document for a single named experiment in this database.
Builds a ReportNode.Document of the stored time-series data for one experiment.
Builds a ReportNode.Document containing the full within-replication diagnostic set for one response in one experiment stored in this database.
Retrieves the within-replication counter-statistic records associated with the named experiment.
Returns the observations for the named experiment and the named statistical response from the within replication data. If the experiment name expNameStr is not found, then an empty array is returned. If the experiment is found, but the response name statNameStr is not found, then an empty array is returned.
This prepares a map that can be used with MultipleComparisonAnalyzer. If the set of simulation runs does not contain the provided experiment names, then an IllegalArgumentException occurs. If there are multiple simulation runs with the same experiment name, then an IllegalArgumentException occurs. In other words, when running the experiments, the user must make the experiment names unique in order for this map to be built.
Retrieves the within-replication response-statistic records associated with the named experiment.
Returns a list containing the within replication data
Returns a data frame that has columns (exp_name, rep_id, responseName) where the values in the responseName column have the value of the response for the named experiments and the replication id (number) for the value.