@Beta public interface SimilarityResults extends Serializable
This result object holds ordered target-query-dissimilarity triplets.
Modifier and Type | Method and Description |
---|---|
double |
getDissimilarity(int index)
Dissimilarity.
|
int |
getQuery(int index)
ID of stored query.
|
int |
getTarget(int index)
ID of the stored target.
|
int |
getTripletCount()
Number of stored query-target-dissimilarity triplets.
|
int getTripletCount()
int getQuery(int index)
index
- Index of the tripletint getTarget(int index)
index
- Index of the tripletdouble getDissimilarity(int index)
index
- Index of the triplet