Class Cache_gamma_lpKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Ret.cacheGamma cache_gamma_lp(Array<Matrix> lambda, Array<Array<Matrix>> R) Computes access factors for the cache.
      final static ArrayList<Integer> cache_par(Matrix R, Integer j) Finds the parent of a given list index according to the access probabilities in an access probability matrix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • cache_gamma_lp

         final static Ret.cacheGamma cache_gamma_lp(Array<Matrix> lambda, Array<Array<Matrix>> R)

        Computes access factors for the cache.

        Parameters:
        lambda -
        • Matrix array representing request arrival rates from users to items of individual lists.

        R -
        • 2D Matrix array representing the reachability graph of a list for different streams and items.

        Returns:

        cacheGammaLpReturn - An object containing access factors (gamma), the number of users (u), the number of items (n), and the number of lists (h).

      • cache_par

         final static ArrayList<Integer> cache_par(Matrix R, Integer j)

        Finds the parent of a given list index according to the access probabilities in an access probability matrix.

        Parameters:
        R -
        • Matrix representing the access probabilities.

        j -
        • Integer representing the list for which the parent will be found.

        Returns:

        ArrayList<Integer> - A list containing the parent of the specified list index j.