Record Class PrZ
java.lang.Object
java.lang.Record
smile.neighbor.lsh.PrZ
- Record Components:
m- the index of hash function.prh- the ni probabilities for hm hash function.
- All Implemented Interfaces:
Comparable<PrZ>
The probability list of all buckets for given query object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intm()Returns the value of themrecord component.PrH[]prh()Returns the value of theprhrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PrZ
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<PrZ>
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
m
-
prh
-