|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaUpdate
de.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaFixed
@ALDDerivedClass @ALDParametrizedClass public class MTBGammaFixed
Class for gamma adaptation with a fixed decreasing factor for all gamma values.
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaUpdate |
---|
adaptedGamma, optimizer, verbose |
Constructor Summary | |
---|---|
MTBGammaFixed()
Default constructor. |
|
MTBGammaFixed(double decreaseFactor)
Constructor with fixed decreasing factor for adaptation. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MTBGammaFixed()
public MTBGammaFixed(double decreaseFactor)
decreaseFactor
- decreasing value for gamma adaptation.Method Detail |
---|
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 optimizer
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |