public class GammaScaling extends Object implements StaticScalingFunction
Modifier and Type | Class and Description |
---|---|
static class |
GammaScaling.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
gamma
Gamma value.
|
static OptionID |
GAMMA_ID
OptionID for the gamma value.
|
Constructor and Description |
---|
GammaScaling()
Constructor without options.
|
GammaScaling(double gamma)
Constructor with Gamma value.
|
public static final OptionID GAMMA_ID
private double gamma
public GammaScaling()
public GammaScaling(double gamma)
gamma
- Gamma value.public double getScaled(double d)
ScalingFunction
getScaled
in interface ScalingFunction
d
- Original valuepublic double getMin()
ScalingFunction
Double.NaN
or
Double.NEGATIVE_INFINITY
.getMin
in interface ScalingFunction
public double getMax()
ScalingFunction
Double.NaN
or
Double.POSITIVE_INFINITY
.getMax
in interface ScalingFunction