de.unihalle.informatik.MiToBo.fields
Class VectorField2DPotentialFinder.PotentialFinderOptFunction
java.lang.Object
de.jstacs.algorithms.optimization.DifferentiableFunction
de.unihalle.informatik.MiToBo.fields.VectorField2DPotentialFinder.PotentialFinderOptFunction
- All Implemented Interfaces:
- de.jstacs.algorithms.optimization.Function
- Enclosing class:
- VectorField2DPotentialFinder
protected class VectorField2DPotentialFinder.PotentialFinderOptFunction
- extends de.jstacs.algorithms.optimization.DifferentiableFunction
Optimization function for gradient-based potential reconstruction.
The class is derived from classed to be found in the Jstacs package to be
found here: http://www.jstacs.de.
- Author:
- moeller
Field Summary |
private boolean |
ignoreBorder
Flag to indicate how the border should be handled. |
Methods inherited from class de.jstacs.algorithms.optimization.DifferentiableFunction |
findOneDimensionalMin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ignoreBorder
private boolean ignoreBorder
- Flag to indicate how the border should be handled.
VectorField2DPotentialFinder.PotentialFinderOptFunction
public VectorField2DPotentialFinder.PotentialFinderOptFunction(boolean ignBorder)
- Default constructor.
- Parameters:
ignBorder
- If true, border pixels are ignored.
evaluateFunction
public double evaluateFunction(double[] xval)
evaluateGradientOfFunction
public double[] evaluateGradientOfFunction(double[] xval)
- Specified by:
evaluateGradientOfFunction
in class de.jstacs.algorithms.optimization.DifferentiableFunction
getDimensionOfScope
public int getDimensionOfScope()