The TimeStatistic
companion object provides additional functions.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TimeStatistic.type
Members list
Value members
Concrete methods
Accumulate all the values weighted by their time durations and return the sum.
Accumulate all the values weighted by their time durations and return the sum.
Value parameters
- t
-
the vector of times of the observation (e.g, event times)
- x
-
the vector of values to accumulate (e.g., system occupancy)
Attributes
Aggregate the sub-statistics by summing all accumulators and determining new overall extreme values.
Aggregate the sub-statistics by summing all accumulators and determining new overall extreme values.
Value parameters
- name
-
the name for the aggregated statistic
- subStats
-
the list of sub-statistics
Attributes
Create a statistical object and set its accumulators and extreme values.
Create a statistical object and set its accumulators and extreme values.
Value parameters
- _lastTime
-
the time of latest observation
- _startTime
-
the time observation began
- maxX
-
the maximum sample value
- minX
-
the minimum sample value
- n
-
the number of samples
- name
-
the name for this statistic (e.g., 'waitingTime')
- sum
-
sum of the sample values
- sumAb
-
sum of the sample absolute values
- sumSq
-
sum of the sample values squared