Class Dmap_distKt
-
- All Implemented Interfaces:
public final class Dmap_distKt
-
-
Method Summary
Modifier and Type Method Description final static Doubledmap_geo_mul_sum(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L, Matrix alA, Matrix alB)Computes the joint PMF inner product of two D-MAPs via recursive discrete Lyapunov equations. final static Doubledmap_dist(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L)Computes the squared L2 distance between lag-L joint PMFs of two D-MAPs. final static Doubledmap_dist(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L, Matrix alA, Matrix alB)Computes the squared L2 distance between lag-L joint PMFs of two D-MAPs. final static Doubledmap_geo_mul_sum_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Matrix alA, Matrix alB)Computes the geometric sum for the discrete autocorrelation distance of two D-MAPs. final static Doubledmap_dist_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B)Computes the squared L2 distance between autocorrelation functions of two D-MAPs. final static Doubledmap_dist_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Matrix alA, Matrix alB)Computes the squared L2 distance between autocorrelation functions of two D-MAPs. -
-
Method Detail
-
dmap_geo_mul_sum
final static Double dmap_geo_mul_sum(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L, Matrix alA, Matrix alB)
Computes the joint PMF inner product of two D-MAPs via recursive discrete Lyapunov equations.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAPL- number of inter-arrival intervals (lag parameter)alA- stationary vector at arrivals of the first D-MAPalB- stationary vector at arrivals of the second D-MAP- Returns:
the inner product value (scalar)
-
dmap_dist
final static Double dmap_dist(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L)
Computes the squared L2 distance between lag-L joint PMFs of two D-MAPs.
The stationary vectors at arrivals are computed internally.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAPL- lag parameter- Returns:
the squared L2 distance
-
dmap_dist
final static Double dmap_dist(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Integer L, Matrix alA, Matrix alB)
Computes the squared L2 distance between lag-L joint PMFs of two D-MAPs.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAPL- lag parameteralA- stationary vector at arrivals of the first D-MAPalB- stationary vector at arrivals of the second D-MAP- Returns:
the squared L2 distance
-
dmap_geo_mul_sum_acf
final static Double dmap_geo_mul_sum_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Matrix alA, Matrix alB)
Computes the geometric sum for the discrete autocorrelation distance of two D-MAPs.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAPalA- stationary vector at arrivals of the first D-MAPalB- stationary vector at arrivals of the second D-MAP- Returns:
the geometric sum value (scalar)
-
dmap_dist_acf
final static Double dmap_dist_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B)
Computes the squared L2 distance between autocorrelation functions of two D-MAPs.
The stationary vectors at arrivals are computed internally.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAP- Returns:
the squared L2 distance between ACFs
-
dmap_dist_acf
final static Double dmap_dist_acf(Matrix D0A, Matrix D1A, Matrix D0B, Matrix D1B, Matrix alA, Matrix alB)
Computes the squared L2 distance between autocorrelation functions of two D-MAPs.
Uses geometric sums and discrete marginal moments, normalized by variances.
- Parameters:
D0A- sub-stochastic matrix for non-arrival transitions of the first D-MAPD1A- arrival transition matrix of the first D-MAPD0B- sub-stochastic matrix for non-arrival transitions of the second D-MAPD1B- arrival transition matrix of the second D-MAPalA- stationary vector at arrivals of the first D-MAPalB- stationary vector at arrivals of the second D-MAP- Returns:
the squared L2 distance between ACFs
-
-
-
-