public class Threshold extends Object implements SimilarityMatrixProcessor
| Modifier and Type | Field and Description |
|---|---|
protected double |
threshold |
| Constructor and Description |
|---|
Threshold(double threshold)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(SimilarityMatrix matrix)
Process the
SimilarityMatrix, making changes inplace. |
protected double threshold
public Threshold(double threshold)
threshold - the thresholdpublic void process(SimilarityMatrix matrix)
SimilarityMatrixProcessorSimilarityMatrix, making changes inplace.process in interface SimilarityMatrixProcessormatrix - the matrix to process.