public class GradientDescent extends Solver
| Modifier and Type | Field and Description |
|---|---|
double |
precision
The precision of the approximation.
|
| Constructor and Description |
|---|
GradientDescent(Map<Variable,Term> startingPoint)
Creates a new gradient descent solver
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInstalled() |
Map<Variable,Term> |
solve(ConstraintSatisfactionProblem problem)
Computes a solution to the given constraint satisfaction or optimization problem, i.e.
|
getDefaultGeneralSolver, getDefaultIntegerLinearSolver, getDefaultLinearSolver, hasDefaultGeneralSolver, hasDefaultIntegerLinearSolver, hasDefaultLinearSolver, setDefaultGeneralSolver, setDefaultIntegerLinearSolver, setDefaultLinearSolverpublic double precision
public Map<Variable,Term> solve(ConstraintSatisfactionProblem problem) throws GeneralMathException
Solversolve in class Solverproblem - the actual problemGeneralMathException - if something went wrong.public static boolean isInstalled()
throws UnsupportedOperationException
UnsupportedOperationExceptionCopyright © 2018. All rights reserved.