Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Processes the ConditionalActions to check if their testCondition() is true, if so the action is executed. All actions are checked until no action's testCondition() is true To prevent conditional cycling the number of rescans is limited to DEFAULT_MAX_SCANS, which can be changed by the user or turned off via setMaxScanFlag()

Link copied to clipboard
class Executive(myEventCalendar: CalendarIfc = PriorityQueueEventCalendar()) : Observable<KSLEvent<*>?>
Link copied to clipboard
open class Experiment(startingRepId: Int = 1, name: String = "Experiment_") : ExperimentIfc

This class provides the information for running a simulation experiment. An experiment is a specification for the number of replications, the warm-up length, replication length, etc. for controlling the running of a simulation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class IterativeProcess<T>(name: String? = null) : Observable<T> , IdentityIfc, IterativeProcessIfc
Link copied to clipboard
Link copied to clipboard
class KSLEvent<out T> : Comparable<KSLEvent<*>>

This class represents a simulated event. It allows for the simulation of durations of simulated time. These events are placed on the Executive and ordered by time, priority, and order of creation.

Link copied to clipboard
class Model(val simulationName: String = "Simulation", pathToOutputDirectory: Path = KSL.createSubDirectory(simulationName.replace(" ", "_") + "_OutputDir"), var autoCSVReports: Boolean = false, eventCalendar: CalendarIfc = PriorityQueueEventCalendar()) : ModelElement, ExperimentIfc
Link copied to clipboard
abstract class ModelElement : IdentityIfc
Link copied to clipboard
class SimulationReporter(theModel: Model)

This class facilitates simulation output reporting. There are two main reporting functions: within replication statistics and across replication statistics. The class automatically reports within replication and across replication statistics to comma separated value files by attaching observers to the model. If you do not want this automated output, then you should use the appropriate turnOffXXX methods.

Link copied to clipboard
class StatisticalBatchingElement(model: Model, batchInterval: Double = 0.0, name: String? = null) : ModelElement

When added to a Model, this class will cause batch statistics to be collected for Response and TWResponse variables. It uses the TWBatchingElement and the ResponseBatchingElement to perform this functionality.