public abstract class OptimizationRootFinder extends RootFinder
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG
reference to the logback logger instance
|
PRECISION
Constructor and Description |
---|
OptimizationRootFinder(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
|
OptimizationRootFinder(Term function)
Creates a new root finder for the given function.
|
OptimizationRootFinder(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 |
---|---|
protected OptimizationProblem |
buildOptimizationProblem()
Builds an optimization problem for the task of root finding.
|
abstract java.util.Map<Variable,Term> |
randomRoot()
Determines the values for the variables appearing in the function such
the function evaluates to zero.
|
getFunctions, getStartingPoint, setStartingPoint
public OptimizationRootFinder(Term function)
function
- a termpublic OptimizationRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)
startingPoint
- protected OptimizationProblem buildOptimizationProblem()
public abstract java.util.Map<Variable,Term> randomRoot() throws GeneralMathException
RootFinder
randomRoot
in class RootFinder
GeneralMathException
- if something went wrong.