private class MTBQuadraticCurve2D.DistanceTargetFunction
extends de.jstacs.algorithms.optimization.DifferentiableFunction
This class implements the following target function:
Modifier and Type | Field and Description |
---|---|
private Point2D.Double |
point
Point for which to calculate the distance to the ellipse.
|
Constructor and Description |
---|
DistanceTargetFunction(Point2D.Double p)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluateFunction(double[] angle) |
double[] |
evaluateGradientOfFunction(double[] angle) |
int |
getDimensionOfScope() |
private Point2D.Double point
public DistanceTargetFunction(Point2D.Double p)
p
- Point to consider.public double evaluateFunction(double[] angle)
public int getDimensionOfScope()
public double[] evaluateGradientOfFunction(double[] angle)
evaluateGradientOfFunction
in class de.jstacs.algorithms.optimization.DifferentiableFunction
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.