Class MetaShift.Masks

java.lang.Object
io.nosqlbench.virtdata.library.basics.core.lfsrs.MetaShift.Masks
Enclosing class:
MetaShift

public static class MetaShift.Masks
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Masks()  
  • Method Summary

    Modifier and Type Method Description
    static MetaShift.GaloisData forPeriodAndBank​(long period, int bank)  
    static MetaShift.GaloisData forPeriodAndBankModulo​(long period, int bankModulo)
    Look up the valid Galois LFSR feedback register values for the required resamplePeriod.
    static long[] masksForBitWidth​(int registerSize)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • forPeriodAndBank

      public static MetaShift.GaloisData forPeriodAndBank​(long period, int bank)
    • forPeriodAndBankModulo

      public static MetaShift.GaloisData forPeriodAndBankModulo​(long period, int bankModulo)
      Look up the valid Galois LFSR feedback register values for the required resamplePeriod.
      Parameters:
      period - The minimum cycle resamplePeriod required
      bankModulo - A deterministic selector which will always select the same pseudo random bank
      Returns:
      A valid Galois LFSR feedback register
    • masksForBitWidth

      public static long[] masksForBitWidth​(int registerSize)