Package jline.api.cache
Class Cache_t_lrumKt
-
- All Implemented Interfaces:
public final class Cache_t_lrumKt
-
-
Method Summary
Modifier and Type Method Description final static Matrix
cache_t_lrum(Matrix gamma, Matrix m)
Computes the characteristic time of each list in the TTL approximation of LRU(m). final static Matrix
cache_t_lrum_aux(DoubleArray x, Matrix gamma, Matrix m, Integer n, Integer h)
Auxiliary function for cache_t_lrum inner optimization. -
-
Method Detail
-
cache_t_lrum
final static Matrix cache_t_lrum(Matrix gamma, Matrix m)
Computes the characteristic time of each list in the TTL approximation of LRU(m).
- Parameters:
gamma
-Matrix representing access factors for items across different levels.
m
-Matrix representing cache capacity vector.
- Returns:
Matrix - A matrix containing the computed characteristic times.
-
cache_t_lrum_aux
final static Matrix cache_t_lrum_aux(DoubleArray x, Matrix gamma, Matrix m, Integer n, Integer h)
Auxiliary function for cache_t_lrum inner optimization.
- Parameters:
x
-Array of double values representing certain parameters for the computation.
gamma
-Matrix representing access factors for items across different levels.
m
-Matrix representing cache capacity vector.
n
-Integer representing the number of items.
h
-Integer representing the number of levels.
- Returns:
Matrix - A matrix containing the computed objective function.
-
-
-
-