io.github.msdk.featdet.ADAP3D.common.algorithms.Parameters Maven / Gradle / Ivy
/*
* (C) Copyright 2015-2017 by MSDK Development Team
*
* This software is dual-licensed under either
*
* (a) the terms of the GNU Lesser General Public License version 2.1 as published by the Free
* Software Foundation
*
* or (per the licensee's choosing)
*
* (b) the terms of the Eclipse Public License v1.0 as published by the Eclipse Foundation.
*/
package io.github.msdk.featdet.ADAP3D.common.algorithms;
/**
* Parameters class.
*
*/
public class Parameters {
private double peakSimilarityThreshold = 0.5;
private double biGaussianSimilarityThreshold = 0.5;
private int largeScaleIn = 10;
private int delta = largeScaleIn * 5;
private double coefAreaRatioTolerance = 100;
private double minPeakWidth = 0.0;
private double maxPeakWidth = 10.0;
/**
* Setter for the field peakSimilarityThreshold
.
*
* @param thresholdValue a double.
*/
public void setPeakSimilarityThreshold(double thresholdValue) {
peakSimilarityThreshold = thresholdValue;
}
/**
* Getter for the field peakSimilarityThreshold
.
*
* @return a double.
*/
public double getPeakSimilarityThreshold() {
return peakSimilarityThreshold;
}
/**
* Setter for the field biGaussianSimilarityThreshold
.
*
* @param thresholdValue a double.
*/
public void setBiGaussianSimilarityThreshold(double thresholdValue) {
biGaussianSimilarityThreshold = thresholdValue;
}
/**
* Getter for the field biGaussianSimilarityThreshold
.
*
* @return a double.
*/
public double getBiGaussianSimilarityThreshold() {
return biGaussianSimilarityThreshold;
}
/**
* Setter for the field delta
.
*
* @param scale a int.
*/
public void setDelta(int scale) {
largeScaleIn = scale;
delta = largeScaleIn * 5;
}
/**
* Getter for the field delta
.
*
* @return a int.
*/
public int getDelta() {
return delta;
}
/**
* Setter for the field largeScaleIn
.
*
* @param largeScale a int.
*/
public void setLargeScaleIn(int largeScale) {
largeScaleIn = largeScale;
}
/**
* Getter for the field largeScaleIn
.
*
* @return a int.
*/
public int getLargeScaleIn() {
return largeScaleIn;
}
/**
* Setter for the field coefAreaRatioTolerance
.
*
* @param coefOverAreaThreshold a double.
*/
public void setCoefAreaRatioTolerance(double coefOverAreaThreshold) {
coefAreaRatioTolerance = coefOverAreaThreshold;
}
/**
* Getter for the field coefAreaRatioTolerance
.
*
* @return a double.
*/
public double getCoefAreaRatioTolerance() {
return coefAreaRatioTolerance;
}
/**
* Setter for the field minPeakWidth
.
*
* @param peakWidth a double.
*/
public void setMinPeakWidth(double peakWidth) {
minPeakWidth = peakWidth;
}
/**
* Getter for the field minPeakWidth
.
*
* @return a double.
*/
public double getMinPeakWidth() {
return minPeakWidth;
}
/**
* Setter for the field maxPeakWidth
.
*
* @param peakWidth a double.
*/
public void setMaxPeakWidth(double peakWidth) {
maxPeakWidth = peakWidth;
}
/**
* Getter for the field maxPeakWidth
.
*
* @return a double.
*/
public double getMaxPeakWidth() {
return maxPeakWidth;
}
}