@ALDDerivedClass @ALDParametrizedClass public class MTBGammaPtWiseExtEner extends MTBGammaUpdate
adaptedGamma, optimizer, verbose
Constructor and Description |
---|
MTBGammaPtWiseExtEner()
Standardconstructor
|
Modifier and Type | Method and Description |
---|---|
double[][] |
adaptGamma()
Gamma adaptation using a point wise adaptation, depending on the current
snake and the external energy force.
|
MTBGammaPtWiseExtEner |
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 MTBGammaPtWiseExtEner clone()
Note that the SnakeOptimizerSingle
object is left null! You have to
call SnakeOptimizer.initOptimizer()
before using the gamma updater.
clone
in class MTBGammaUpdate
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.