IntegerFrequencyResponse

constructor(parent: ModelElement, name: String, intRange: IntRange = Int.MIN_VALUE..Int.MAX_VALUE)

This class tabulates the frequency associated with the integers presented to it based on the attached variable. Every value presented is interpreted as an integer For every value presented a count is maintained. There could be space/time performance issues if the number of different values presented is large. Use intRange to limit the values within the specified range that can be observed. Values lower than the lower limit are counted as underflow and values greater than the upper limit are counted as overflow.

The frequency tabulates all within replication observations regardless of replication. That is, the frequency is based on every observation for every replication. It observes observations that may have been within a warmup period even if the modeler specifies a warmup period.

Author

rossetti

Parameters

parent

the variable to observe

intRange

the defined integer range for observations

name

a name for the instance


constructor(parent: ModelElement, name: String, lowerLimit: Int = Int.MIN_VALUE, upperLimit: Int = Int.MAX_VALUE, myIntegerFrequency: IntegerFrequency = IntegerFrequency( name = "${name}_Frequency", lowerLimit = lowerLimit, upperLimit = upperLimit ))

Parameters

parent

the parent of this model element

lowerLimit

the defined lower limit of the integers, values less than this are not tabulated

upperLimit

the defined upper limit of the integers, values less than this are not tabulated

name

a name for the instance