public class DefaultDoubleIterationMonitor extends AbstractDoubleIterationMonitor
Constructor and Description |
---|
DefaultDoubleIterationMonitor()
Constructor for DefaultIterationMonitor.
|
DefaultDoubleIterationMonitor(int maxIter,
double rtol,
double atol,
double dtol)
Constructor for DefaultIterationMonitor
|
Modifier and Type | Method and Description |
---|---|
double |
getAbsoluteTolerance()
Returns the absolute convergence tolerance
|
double |
getDivergenceTolerance()
Returns the relative divergence tolerance
|
int |
getMaxIterations()
Returns maximum number of iterations to permit
|
double |
getRelativeTolerance()
Returns the relative convergence tolerance
|
void |
setAbsoluteTolerance(double atol)
Sets the absolute convergence tolerance
|
void |
setDivergenceTolerance(double dtol)
Sets the relative divergence tolerance
|
void |
setMaxIterations(int maxIter)
Sets maximum number of iterations to permit
|
void |
setRelativeTolerance(double rtol)
Sets the relative convergence tolerance
|
converged, converged, converged, converged, getIterationReporter, getNormType, isFirst, iterations, next, residual, setFirst, setIterationReporter, setNormType
public DefaultDoubleIterationMonitor(int maxIter, double rtol, double atol, double dtol)
maxIter
- Maximum number of iterationsrtol
- Relative convergence tolerance (to initial residual)atol
- Absolute convergence tolerancedtol
- Relative divergence tolerance (to initial residual)public DefaultDoubleIterationMonitor()
public void setMaxIterations(int maxIter)
maxIter
- Maximum number of iterationspublic int getMaxIterations()
public void setRelativeTolerance(double rtol)
rtol
- relative convergence tolerance (to initial residual)public double getRelativeTolerance()
public void setAbsoluteTolerance(double atol)
atol
- absolute convergence tolerancepublic double getAbsoluteTolerance()
public void setDivergenceTolerance(double dtol)
dtol
- relative divergence tolerance (to initial residual)public double getDivergenceTolerance()
Jump to the Parallel Colt Homepage