Class LongBitmap

java.lang.Object
org.apache.calcite.rel.rules.LongBitmap

public class LongBitmap extends Object
Bitmap tool for dphyp.
  • Method Details

    • newBitmapBetween

      public static long newBitmapBetween(int startInclude, int endExclude)
    • newBitmap

      public static long newBitmap(int value)
    • getBvBitmap

      public static long getBvBitmap(long csg)
      Corresponding to Bv = {node|node ≺ csg} in "Dynamic programming strikes back".
    • isSubSet

      public static boolean isSubSet(long maySub, long bigger)
    • isOverlap

      public static boolean isOverlap(long bitmap1, long bitmap2)
    • newBitmapFromList

      public static long newBitmapFromList(List<Integer> values)
    • printBitmap

      public static String printBitmap(long bitmap)