public class PairManager
extends java.lang.Object
| Constructor | Description |
|---|---|
PairManager() |
Constructor
|
PairManager(boolean isReferencePairing) |
Constructor, number of pairs of robust points depends on the parameter isReferencePairing
no.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.HashMap<java.lang.Integer,java.util.List<java.lang.Integer>> |
getPair_PositionList_Table(byte[] fingerprint) |
Get a pair-positionList table
It's a hash map which the key is the hashed pair, and the value is list of positions
That means the table stores the positions which have the same hashed pair
|
static int |
pairBytesToHashcode(byte[] pairBytes) |
Convert bytes to hased pair
|
static byte[] |
pairHashcodeToBytes(int pairHashcode) |
Convert hashed pair to bytes
|
public PairManager()
public PairManager(boolean isReferencePairing)
isReferencePairing - public java.util.HashMap<java.lang.Integer,java.util.List<java.lang.Integer>> getPair_PositionList_Table(byte[] fingerprint)
fingerprint - fingerprint bytespublic static byte[] pairHashcodeToBytes(int pairHashcode)
pairHashcode - hashed pairpublic static int pairBytesToHashcode(byte[] pairBytes)
pairBytes - Copyright © 2018. All Rights Reserved.