Class CFVectorSpace

java.lang.Object
io.nosqlbench.virtdata.lib.vectors.dnn.circlefield.CFVectorSpace

public class CFVectorSpace extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The number of bits which are needed to represent the maximum value.
    final int
    A mask which is used to limit the counting resolution to the bit size;
    final int
    The size determines the cardinality of unique vectors within this space.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CFVectorSpace(int size)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • size

      public final int size
      The size determines the cardinality of unique vectors within this space. It is the maximum value exclusive, or the next value after the maximum value included in the set of ordinals.
    • bits

      public final int bits
      The number of bits which are needed to represent the maximum value.
    • mask

      public final int mask
      A mask which is used to limit the counting resolution to the bit size;
  • Constructor Details

    • CFVectorSpace

      public CFVectorSpace(int size)
  • Method Details

    • mask

      public int mask()
    • bits

      public int bits()
    • minIncluded

      public int minIncluded()
    • maxExcluded

      public int maxExcluded()
    • toString

      public String toString()
      Overrides:
      toString in class Object