@ALDDerivedClass @ALDParametrizedClass public class MTBGammaNone extends MTBGammaUpdate
No adaptation is made. The given values will simply be returned.
adaptedGamma, optimizer, verbose
Constructor and Description |
---|
MTBGammaNone()
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
adaptGamma()
No gamma adaptation is made.
|
MTBGammaNone |
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.
|
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 MTBGammaNone 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.