Response CIfc
While Response instances should in general be declared as private within model elements, this interface provides the modeler the ability to declare a public property that returns an instance with limited ability to change and use the underlying Response, prior to running the model.
For example:
private val myR = Response(this, "something cool") val response: ResponseCIfc get() = myR
Then users of the public property can change the response and do other controlled changes without fully exposing the private variable. The implementer of the model element that contains the private response does not have to write additional functions to control the response and can use this strategy to expose what is needed. This is most relevant to setting up the model elements prior to running the model or accessing information after the model has been executed. Changes or use during a model run is readily available through the general interface presented by Response.
The naming convention "CIfc" is used to denote controlled interface.
Inheritors
Properties
The across replication statistics for the response
Returns the default reporting option. True means that the response should appear on the default reports
If true, the response will emit pairs Pair(time, value) every time a new value is assigned
Sets the initial value of the count limit. Only relevant prior to each replication. Changing during a replication has no effect until the next replication.
The previous value from the sequence of values a double representing the last value in the sequence
The within replication statistics associated with the response