Class Map_acfKt
-
- All Implemented Interfaces:
public final class Map_acfKt
-
-
Method Summary
Modifier and Type Method Description final static Matrix
map_acf(Matrix D0, Matrix D1, Matrix lags)
Computes the autocorrelation function (ACF) for a given MAP at multiple lags. final static Matrix
map_acf(MatrixCell MAP, Matrix lags)
Computes the autocorrelation function (ACF) for a given MAP at multiple lags using a MatrixCell. final static Matrix
map_acf(Matrix D0, Matrix D1)
Computes the autocorrelation function (ACF) for a given MAP using a default lag of 1. final static Matrix
map_acf(MatrixCell MAP)
Computes the autocorrelation function (ACF) for a given MAP using a default lag of 1. final static Matrix
map_acf(Matrix D0, Matrix D1, Integer lag)
Computes the autocorrelation function (ACF) for a given MAP at a specific lag. -
-
Method Detail
-
map_acf
final static Matrix map_acf(Matrix D0, Matrix D1, Matrix lags)
Computes the autocorrelation function (ACF) for a given MAP at multiple lags.
This method calculates the ACF values for the specified lags by computing the embedded DTMC matrix, the stationary distribution vector, and the steady-state vector. The ACF values are normalized by the squared coefficient of variation (SCV) of the inter-arrival times.
- Parameters:
D0
- the hidden transition matrix of the MAPD1
- the visible transition matrix of the MAPlags
- a matrix containing the lags at which to compute the ACF- Returns:
a matrix containing the ACF values at the specified lags
-
map_acf
final static Matrix map_acf(MatrixCell MAP, Matrix lags)
Computes the autocorrelation function (ACF) for a given MAP at multiple lags using a MatrixCell.
This method is a convenience overload that extracts the D0 and D1 matrices from the provided MatrixCell and calculates the ACF for the specified lags.
- Parameters:
MAP
- the MatrixCell representing the MAP, containing the D0 and D1 matriceslags
- a matrix containing the lags at which to compute the ACF- Returns:
a matrix containing the ACF values at the specified lags
-
map_acf
final static Matrix map_acf(Matrix D0, Matrix D1)
Computes the autocorrelation function (ACF) for a given MAP using a default lag of 1.
This method calculates the ACF at lag 1 for the MAP described by the matrices D0 and D1. It is a convenience method for cases where only the first lag's ACF is of interest.
- Parameters:
D0
- the hidden transition matrix of the MAPD1
- the visible transition matrix of the MAP- Returns:
a matrix containing the ACF value at lag 1
-
map_acf
final static Matrix map_acf(MatrixCell MAP)
Computes the autocorrelation function (ACF) for a given MAP using a default lag of 1.
This method is a convenience overload that extracts the D0 and D1 matrices from the provided MatrixCell and calculates the ACF at lag 1.
- Parameters:
MAP
- the MatrixCell representing the MAP, containing the D0 and D1 matrices- Returns:
a matrix containing the ACF value at lag 1
-
map_acf
final static Matrix map_acf(Matrix D0, Matrix D1, Integer lag)
Computes the autocorrelation function (ACF) for a given MAP at a specific lag.
This method calculates the ACF for the specified lag by first creating a singleton matrix with the lag value. It then calls the overloaded
map_acf
method that accepts a matrix of lags.- Parameters:
D0
- the hidden transition matrix of the MAPD1
- the visible transition matrix of the MAPlag
- the specific lag at which to compute the ACF- Returns:
a matrix containing the ACF value at the specified lag
-
-
-
-