Package jline.io

Class Ret.cacheGamma

java.lang.Object
jline.io.Ret.cacheGamma
Enclosing class:
Ret

public static class Ret.cacheGamma extends Object
Represents the return type for the cache gamma linear program computations. This class encapsulates the computed gamma matrix along with the number of users, items, and levels.
  • Field Details

    • gamma

      public Matrix gamma
    • u

      public int u
    • n

      public int n
    • h

      public int h
    • parent

      public int[] parent
  • Constructor Details

    • cacheGamma

      public cacheGamma(Matrix gamma, int u, int n, int h)
      Constructor for initializing the cacheGammaLpReturn object.
      Parameters:
      gamma - - Matrix representing the gamma values.
      u - - Integer representing the number of users.
      n - - Integer representing the number of items.
      h - - Integer representing the number of levels.
    • cacheGamma

      public cacheGamma(Matrix gamma, int u, int n, int h, int[] parent)
      Constructor including the tree structure of the cache lists.
      Parameters:
      gamma - - Matrix representing the gamma values.
      u - - Integer representing the number of users.
      n - - Integer representing the number of items.
      h - - Integer representing the number of levels.
      parent - - Parent list of each list, 0-based, -1 for lists rooted in the miss list.