public class MaximumOfContainment<DataType> extends SimilarityMeasure<Collection<DataType>>
| Constructor and Description |
|---|
MaximumOfContainment() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(Collection<DataType> first,
Collection<DataType> second)
Calculates the similarity of first and second
|
public double calculate(Collection<DataType> first, Collection<DataType> second)
SimilarityMeasurecalculate in class SimilarityMeasure<Collection<DataType>>first - the first record (must not be null)second - the second record (must not be null)Copyright © 2018. All rights reserved.