@Beta public static class BinaryVectorComparator.Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkBitCounts(int bitCount,
int targetOnly,
int queryOnly,
int common)
Check that descriptor comparison parameters are consistent.
|
public static void checkBitCounts(int bitCount,
int targetOnly,
int queryOnly,
int common)
throws IllegalArgumentException
bitCount - Descriptor sizetargetOnly - Count of positions set in the target side onlyqueryOnly - Count of positions set in the query side onlycommon - Count of positions set both in the query and target sideIllegalArgumentException - When the four given counts are inconsistent or invalid