Class ReplayUtils


  • public class ReplayUtils
    extends java.lang.Object
    • Constructor Detail

      • ReplayUtils

        public ReplayUtils()
    • Method Detail

      • presetIndicator

        public static java.util.function.IntUnaryOperator presetIndicator​(Place place)
      • postsetIndicator

        public static java.util.function.IntUnaryOperator postsetIndicator​(Place place)
      • createCountArray

        public static int[] createCountArray()
      • createBitMaskArray

        public static BitMask[] createBitMaskArray()
      • updateCounts

        public static void updateCounts​(int[] counts,
                                        int count,
                                        boolean activated,
                                        boolean wentUnder,
                                        boolean wentOver,
                                        boolean notZeroAtEnd)
      • updateOutcomeBitMasks

        public static void updateOutcomeBitMasks​(BitMask[] bitMasks,
                                                 int idx,
                                                 boolean activated,
                                                 boolean wentUnder,
                                                 boolean wentOver,
                                                 boolean notZeroAtEnd)
      • updateFittingVariantMask

        public static void updateFittingVariantMask​(BitMask bm,
                                                    boolean wentUnder,
                                                    boolean wentOver,
                                                    boolean notZeroAtEnd,
                                                    int idx)
      • createReplayOutcomeEnumSet

        public static java.util.EnumSet<ReplayOutcome> createReplayOutcomeEnumSet​(boolean activated,
                                                                                  boolean wentUnder,
                                                                                  boolean wentOver,
                                                                                  boolean notZeroAtEnd)
      • markingBasedReplay

        public static java.util.EnumSet<ReplayOutcome> markingBasedReplay​(java.nio.IntBuffer markingHistory)