@ALDDerivedClass @ALDParametrizedClass public class MTBSnakeEnergyCD_KassLength_ParamAdaptFix extends MTBSnakeEnergyCD_KassLength_ParamAdapt
Modifier and Type | Field and Description |
---|---|
private double |
alphaDecrease
Value by which alpha is decreased in each iteration.
|
initAlpha
Constructor and Description |
---|
MTBSnakeEnergyCD_KassLength_ParamAdaptFix()
Default constructor.
|
MTBSnakeEnergyCD_KassLength_ParamAdaptFix(double iA,
double aDecr)
Construct a new updater for the internal energy using a fixed value.
|
Modifier and Type | Method and Description |
---|---|
double[] |
alphaUpdate(SnakeOptimizerSingle o,
double[] curAlphas)
Update function for alpha values.
|
double |
getAlphaDecrease()
Get the fix alpha decrease value.
|
Double |
getMaxAlpha()
Get the maximum value for parameter alpha.
|
Double |
getMinAlpha()
Get the minimum value for parameter alpha.
|
void |
init(MTBSnakeEnergyCD_KassLength ener)
Initialize the updater according to associated energy object.
|
String |
toString() |
@ALDClassParameter(label="Percentual Alpha Decrease") private double alphaDecrease
public MTBSnakeEnergyCD_KassLength_ParamAdaptFix()
public MTBSnakeEnergyCD_KassLength_ParamAdaptFix(double iA, double aDecr)
public double getAlphaDecrease()
public void init(MTBSnakeEnergyCD_KassLength ener)
MTBSnakeEnergyCD_KassLength_ParamAdapt
init
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
public double[] alphaUpdate(SnakeOptimizerSingle o, double[] curAlphas)
MTBSnakeEnergyCD_KassLength_ParamAdapt
alphaUpdate
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
o
- Current snake optimizer.curAlphas
- Current alpha values.public Double getMaxAlpha()
MTBSnakeEnergyCD_KassLength_ParamAdapt
getMaxAlpha
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
public Double getMinAlpha()
MTBSnakeEnergyCD_KassLength_ParamAdapt
getMinAlpha
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
public String toString()
toString
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.