Méthode | Description | |
---|---|---|
AccumulateHammingSimilarity ( IEnumerable |
||
CalculateHammingDistance ( byte a, byte b ) : int | ||
CalculateHammingSimilarity ( byte a, byte b ) : int | ||
CalculateJaccardSimilarity ( bool x, bool y ) : double |
Calculate similarity between 2 fingerprints. Similarity defined as (A intersection B)/(A union B) for types of columns a (1,1), b(1,0), c(0,1) and d(0,0), it will be equal to Sim(x,y) = a/(a+b+c) +1 = 10 -1 = 01 0 = 00 |
|
SimilarityUtility ( ) : System.Collections.Concurrent |
Méthode | Description | |
---|---|---|
SimilarityUtility ( IHashConverter hashConverter ) : System.Collections.Concurrent |
public AccumulateHammingSimilarity ( IEnumerable |
||
candidates | IEnumerable |
|
expected | ||
accumulator | ResultEntryAccumulator>.ConcurrentDictionary | |
Résultat | void |
public CalculateHammingDistance ( byte a, byte b ) : int | ||
a | byte | |
b | byte | |
Résultat | int |
public CalculateHammingSimilarity ( byte a, byte b ) : int | ||
a | byte | |
b | byte | |
Résultat | int |
public CalculateJaccardSimilarity ( bool x, bool y ) : double | ||
x | bool | Fingerprint x |
y | bool | Fingerprint y |
Résultat | double |
public SimilarityUtility ( ) : System.Collections.Concurrent | ||
Résultat | System.Collections.Concurrent |