@ALDDerivedClass @ALDParametrizedClass public class MTBSnakeEnergyCD_KassLength_ParamAdaptNone extends MTBSnakeEnergyCD_KassLength_ParamAdapt
This class simply adapts the size of the vector, assuming the first value as the default.
initAlpha
Constructor and Description |
---|
MTBSnakeEnergyCD_KassLength_ParamAdaptNone()
Default constructor.
|
MTBSnakeEnergyCD_KassLength_ParamAdaptNone(double _iAlpha)
Construct a new updater.
|
Modifier and Type | Method and Description |
---|---|
double[] |
alphaUpdate(SnakeOptimizerSingle o,
double[] alphas)
Update function for alphas.
|
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() |
public MTBSnakeEnergyCD_KassLength_ParamAdaptNone()
public MTBSnakeEnergyCD_KassLength_ParamAdaptNone(double _iAlpha)
public void init(MTBSnakeEnergyCD_KassLength ener)
MTBSnakeEnergyCD_KassLength_ParamAdapt
init
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
public double[] alphaUpdate(SnakeOptimizerSingle o, double[] alphas)
alphaUpdate
in class MTBSnakeEnergyCD_KassLength_ParamAdapt
o
- Current snake optimizer.alphas
- 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.