|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
plugins.big.bigsnakeutils.icy.snake3D.Snake3DOptimizer
plugins.big.bigsnakeutils.icy.snake3D.Snake3DPowellOptimizer
public class Snake3DPowellOptimizer
This class implements a optimization scheme for parametric snakes base on
Powell's method. It handles objects that implement the Snake3D
interface.
Field Summary |
---|
Fields inherited from class plugins.big.bigsnakeutils.icy.snake3D.Snake3DOptimizer |
---|
isCurrentBest |
Constructor Summary | |
---|---|
Snake3DPowellOptimizer()
|
Method Summary | |
---|---|
double |
getAbsoluteAccuracy()
|
double |
getInitialBracketingStep()
|
double |
getMaximalParabolicBracketingExcursion()
|
double |
getNonQuadraticBracketingDegeneracy()
|
double |
getNumericalGradientStepSize()
|
double |
getRelativeAccuracy()
|
double |
getVanishingGradientConvergence()
|
double |
getVanishingStepConvergence()
|
double |
getVanishingTotalDisplacementConvergence()
|
void |
optimize(Snake3D snake,
Snake3DNode[] configuration)
This method evolves the snake. |
java.lang.Double |
reportSnakeBestObservedEnergy()
Returns the best energy observed so far during the optimization process. |
boolean |
reportSnakeDeath()
Returns true if the snake died, and false
otherwise. |
boolean |
reportSnakeOptimality()
Returns true if the optimal snake has been found, and
false otherwise. |
void |
setAbsoluteAccuracy(double absoluteAccuracy)
|
void |
setInitialBracketingStep(double initialBracketingStep)
|
void |
setMaximalParabolicBracketingExcursion(double maximalParabolicBracketingExcursion)
|
void |
setNonQuadraticBracketingDegeneracy(double nonQuadraticBracketingDegeneracy)
|
void |
setNumericalGradientStepSize(double numericalGradientStepSize)
|
void |
setRelativeAccuracy(double relativeAccuracy)
|
void |
setVanishingGradientConvergence(double vanishingGradientConvergence)
|
void |
setVanishingStepConvergence(double vanishingStepConvergence)
|
void |
setVanishingTotalDisplacementConvergence(double vanishingTotalDisplacementConvergence)
|
void |
stopOptimizing()
Requests stopping the optimization process. |
Methods inherited from class plugins.big.bigsnakeutils.icy.snake3D.Snake3DOptimizer |
---|
wasSuccessfulProbing, willProbe |
Methods inherited from class java.util.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Snake3DPowellOptimizer()
Method Detail |
---|
public void optimize(Snake3D snake, Snake3DNode[] configuration)
optimize
in class Snake3DOptimizer
public java.lang.Double reportSnakeBestObservedEnergy()
reportSnakeBestObservedEnergy
in class Snake3DOptimizer
null
if the energy could not be computed even
once. Else, return the best energy that could be observed during
optimization.public boolean reportSnakeDeath()
true
if the snake died, and false
otherwise.
reportSnakeDeath
in class Snake3DOptimizer
false
if the snake was still alive when the
optimizer did terminate, or possibly if an eventual death of the
snake was unrelated to the termination decision. Return
true
if the optimizer did indeed terminate because
the snake died.public boolean reportSnakeOptimality()
true
if the optimal snake has been found, and
false
otherwise.
reportSnakeOptimality
in class Snake3DOptimizer
false
if the optimizer abandoned its task
before the optimization was complete, whatever the reason may
have been. Return true
if the optimizer could bring
its task to completion and found a snake that was deemed to be
optimal.public void stopOptimizing()
stopOptimizing
in class Snake3DOptimizer
public double getAbsoluteAccuracy()
public void setAbsoluteAccuracy(double absoluteAccuracy)
public double getInitialBracketingStep()
public void setInitialBracketingStep(double initialBracketingStep)
public double getMaximalParabolicBracketingExcursion()
public void setMaximalParabolicBracketingExcursion(double maximalParabolicBracketingExcursion)
public double getNonQuadraticBracketingDegeneracy()
public void setNonQuadraticBracketingDegeneracy(double nonQuadraticBracketingDegeneracy)
public double getNumericalGradientStepSize()
public void setNumericalGradientStepSize(double numericalGradientStepSize)
public double getRelativeAccuracy()
public void setRelativeAccuracy(double relativeAccuracy)
public double getVanishingGradientConvergence()
public void setVanishingGradientConvergence(double vanishingGradientConvergence)
public double getVanishingStepConvergence()
public void setVanishingStepConvergence(double vanishingStepConvergence)
public double getVanishingTotalDisplacementConvergence()
public void setVanishingTotalDisplacementConvergence(double vanishingTotalDisplacementConvergence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |