scalation.stat

TimeStatistic

class TimeStatistic extends Statistic

The TimeStatistic class is used to collect values and compute time-persistent statistics on them (e.g., Number in Queue).

See also

http://staff.unak.is/andy/Year%203%20Simulation/Laboratories/v4manual/internal.htm

Linear Supertypes
Statistic, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TimeStatistic
  2. Statistic
  3. Error
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeStatistic(name: String = "p-stat", _lastTime: Double = 0.0, _startTime: Double = 0.0)

    name

    the name for this statistic (e.g., NumberInQueue or tellerQ)

    _lastTime

    the time of last observation

    _startTime

    the time observation began

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def accum(x: Double, t: Double): Unit

    Accumulate the next value weighted by its time duration and update accumulators.

    Accumulate the next value weighted by its time duration and update accumulators.

    x

    the value to accumulate

    t

    the time of the observation

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def interval(p: Double = .95): Double

    Compute the confidence interval half-width for the given confidence level.

    Compute the confidence interval half-width for the given confidence level.

    p

    the confidence level

    Definition Classes
    Statistic
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def lastTime: Double

    Return the last time statistics were recorded by this collector.

  18. def max: Double

    Return the maximum value in sample.

    Return the maximum value in sample.

    Definition Classes
    Statistic
  19. var maxX: Double

    The maximum sample value

    The maximum sample value

    Attributes
    protected
    Definition Classes
    Statistic
  20. def mean: Double

    Compute/estimate the time-weighted mean.

    Compute/estimate the time-weighted mean.

    Definition Classes
    TimeStatisticStatistic
  21. def min: Double

    Return the minimum value in sample.

    Return the minimum value in sample.

    Definition Classes
    Statistic
  22. var minX: Double

    The minimum sample value

    The minimum sample value

    Attributes
    protected
    Definition Classes
    Statistic
  23. def ms: Double

    Compute/estimate the mean square (ms).

    Compute/estimate the mean square (ms).

    Definition Classes
    Statistic
  24. var n: Int

    The number of samples

    The number of samples

    Attributes
    protected
    Definition Classes
    Statistic
  25. val name: String

    the name for this statistic (e.

    the name for this statistic (e.g., NumberInQueue or tellerQ)

    Definition Classes
    TimeStatisticStatistic
  26. def nd: Double

    Return the number of samples as a double.

    Return the number of samples as a double.

    Definition Classes
    Statistic
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def num: Int

    Return the number of samples.

    Return the number of samples.

    Definition Classes
    Statistic
  31. def rms: Double

    Compute/estimate the root mean square (rms).

    Compute/estimate the root mean square (rms).

    Definition Classes
    Statistic
  32. def show: String

    Show the values of this collector's accumulators.

    Show the values of this collector's accumulators.

    Definition Classes
    TimeStatisticStatistic
  33. def startTime: Double

    Return the time observation began.

  34. def statRow: Array[AnyVal]

    Return the summary statistics as a row/Array.

    Return the summary statistics as a row/Array.

    Definition Classes
    Statistic
  35. def stddev: Double

    Compute/estimate the sample standard deviation.

    Compute/estimate the sample standard deviation.

    Definition Classes
    Statistic
  36. var sum: Double

    Sum of the sample values

    Sum of the sample values

    Attributes
    protected
    Definition Classes
    Statistic
  37. var sumSq: Double

    Sum of the sample values squared

    Sum of the sample values squared

    Attributes
    protected
    Definition Classes
    Statistic
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def tally(x: Double): Unit

    Disable the tally method (it is for sample statistics, not time-persistent statistics.

    Disable the tally method (it is for sample statistics, not time-persistent statistics.

    x

    the value to tally

    Definition Classes
    TimeStatisticStatistic
  40. def toString(): String

    Generate a row of statistical results as a string.

    Generate a row of statistical results as a string.

    Definition Classes
    Statistic → AnyRef → Any
  41. def variance: Double

    Compute/estimate the time-weighted variance.

    Compute/estimate the time-weighted variance.

    Definition Classes
    TimeStatisticStatistic
  42. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Statistic

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped