public class GradientDescentRootFinder extends OptimizationRootFinder
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG
reference to the logback logger instance
|
double |
precision
The precision of the approximation.
|
PRECISION| Constructor and Description |
|---|
GradientDescentRootFinder(java.util.List<Term> functions,
java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given
(multi-dimensional) function
|
GradientDescentRootFinder(Term function,
java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given function
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Variable,Term> |
randomRoot()
Determines the values for the variables appearing in the function such
the function evaluates to zero.
|
buildOptimizationProblemgetFunctions, getStartingPoint, setStartingPointprivate static org.slf4j.Logger LOG
public double precision
public GradientDescentRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)
startingPoint - public java.util.Map<Variable,Term> randomRoot() throws GeneralMathException
RootFinderrandomRoot in class OptimizationRootFinderGeneralMathException - if something went wrong.