메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
SimilarityUtility ( IHashConverter hashConverter ) : System.Collections.Concurrent |
public AccumulateHammingSimilarity ( IEnumerable |
||
candidates | IEnumerable |
|
expected | ||
accumulator | ResultEntryAccumulator>.ConcurrentDictionary | |
리턴 | void |
public CalculateHammingDistance ( byte a, byte b ) : int | ||
a | byte | |
b | byte | |
리턴 | int |
public CalculateHammingSimilarity ( byte a, byte b ) : int | ||
a | byte | |
b | byte | |
리턴 | int |
public CalculateJaccardSimilarity ( bool x, bool y ) : double | ||
x | bool | Fingerprint x |
y | bool | Fingerprint y |
리턴 | double |
public SimilarityUtility ( ) : System.Collections.Concurrent | ||
리턴 | System.Collections.Concurrent |