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)
SimilarityMatrixProcessor
SimilarityMatrix
, making changes inplace.process
in interface SimilarityMatrixProcessor
matrix
- the matrix to process.