Class PrZ

java.lang.Object
smile.neighbor.lsh.PrZ
All Implemented Interfaces:
Comparable<PrZ>

public class PrZ extends Object implements Comparable<PrZ>
The probability list of all buckets for given query object.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The index of hash function.
    final PrH[]
    The ni probabilities for hm hash function, where ni = ui_max - ui_min + 1.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PrZ(int m, PrH[] prh)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from class java.lang.Object

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

    • m

      public final int m
      The index of hash function.
    • prh

      public final PrH[] prh
      The ni probabilities for hm hash function, where ni = ui_max - ui_min + 1.
  • Constructor Details

    • PrZ

      public PrZ(int m, PrH[] prh)
      Constructor.
      Parameters:
      m - the index of hash function.
      prh - the ni probabilities for hm hash function.
  • Method Details