Record Class MultiProbeSample
java.lang.Object
java.lang.Record
smile.neighbor.lsh.MultiProbeSample
- Record Components:
query- the query object.neighbors- the neighbors of query object.
-
Constructor Summary
ConstructorsConstructorDescriptionMultiProbeSample(double[] query, List<double[]> neighbors) Creates an instance of aMultiProbeSamplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<double[]> Returns the value of theneighborsrecord component.double[]query()Returns the value of thequeryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MultiProbeSample
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
query
-
neighbors
-