TResults
- The results type of the function evaluation.TDerivativeResults
- The results type of the function derivative evaluation.public class MultivariableFunctionSolverStepResult<TResults,TDerivativeResults> extends Object
MultivariableFunctionSolver
.Constructor and Description |
---|
MultivariableFunctionSolverStepResult(double[] variableDelta,
TResults functionResults,
TDerivativeResults derivativeResults,
boolean converged,
boolean aborted)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAborted()
Gets a value indicating whether the solver has aborted.
|
boolean |
getConverged()
Gets a value indicating whether the solver converged on this iteration.
|
TDerivativeResults |
getDerivativeResults()
Gets the results of this iteration of the evaluation of the derivative of the
multivariable function being solved.
|
boolean |
getFinished()
Gets a value indicating whether the solver has finished, either because the evaluation was aborted or converged.
|
TResults |
getFunctionValue()
Gets the multivariable function evaluation results.
|
double[] |
getVariableDelta()
Gets the change that should be applied to the state variables in the next iteration.
|
ArrayList<MultivariableFunctionSolverWarning> |
getWarnings()
Gets any warnings that may have been encountered during this evaluation.
|
public MultivariableFunctionSolverStepResult(double[] variableDelta, TResults functionResults, TDerivativeResults derivativeResults, boolean converged, boolean aborted)
variableDelta
- The change that should be applied to the state variables in the next iteration.functionResults
- The multivariable function evaluation results.derivativeResults
- The results of this iteration of the evaluation of the derivatives of the
multivariable function being solved.converged
- If the function solver converged on this iteration.aborted
- If the function solver was aborted during this iteration.public final double[] getVariableDelta()
public final TDerivativeResults getDerivativeResults()
public final boolean getConverged()
public final boolean getFinished()
public final boolean getAborted()
public final TResults getFunctionValue()
@Nonnull public final ArrayList<MultivariableFunctionSolverWarning> getWarnings()