@ALDDerivedClass @ALDParametrizedClass public class MTBGammaFixed extends MTBGammaUpdate
Modifier and Type | Field and Description |
---|---|
private double |
decrease
Fixed decrease factor for adaptation of all gamma values.
|
adaptedGamma, optimizer, verbose
Constructor and Description |
---|
MTBGammaFixed()
Default constructor.
|
MTBGammaFixed(double decreaseFactor)
Constructor with fixed decreasing factor for adaptation.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
adaptGamma()
Gamma adaptation using fixed decreasing factor for all gamma values.
|
MTBGammaFixed |
clone()
Clones this object.
|
boolean |
init(SnakeOptimizerSingleVarCalc opt)
Initializing routine which is called once before the gamma adaptation is
actually used.
|
String |
toString()
Method for short adaptation description name.
|
@ALDClassParameter(label="Decrease Factor") private double decrease
public MTBGammaFixed()
public MTBGammaFixed(double decreaseFactor)
decreaseFactor
- decreasing value for gamma adaptation.public boolean init(SnakeOptimizerSingleVarCalc opt)
MTBGammaUpdate
In this routine global parameter settings can be handled or other initialization stuff be done. The SnakeOptimizer will call this routine once before the actual use of the gamma update strategy. If no stuff needs to be done in advance the routine should at least return true.
init
in class MTBGammaUpdate
opt
- calling snake optimizerpublic double[][] adaptGamma()
adaptGamma
in class MTBGammaUpdate
public String toString()
MTBGammaUpdate
toString
in class MTBGammaUpdate
public MTBGammaFixed clone() throws CloneNotSupportedException
Note that the SnakeOptimizerSingle
object is left null!
You have to call SnakeOptimizer.initOptimizer()
before
using the gamma updater.
clone
in class MTBGammaUpdate
CloneNotSupportedException
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.