public class HyBRFloatIterationMonitor extends AbstractFloatIterationMonitor
Constructor and Description |
---|
HyBRFloatIterationMonitor()
Constructor for HyBRFloatIterationMonitor.
|
HyBRFloatIterationMonitor(int maxIter,
float dtol)
Constructor for HyBRFloatIterationMonitor
|
Modifier and Type | Method and Description |
---|---|
boolean |
converged(float r)
Checks for convergence
|
boolean |
converged(float r,
FloatMatrix1D x)
Checks for convergence
|
float |
getDivergenceTolerance()
Returns the relative divergence tolerance
|
int |
getMaxIterations()
Returns the maximum number of iterations
|
float |
getRegularizationParameter()
Returns the regularization parameter
|
cern.colt.matrix.tfloat.algo.solver.HyBRFloatIterationMonitor.HyBRStoppingCondition |
getStoppingCondition()
Returns the stopping condition
|
int |
iterations()
Number of iterations performed
|
void |
setDivergenceTolerance(float dtol)
Sets the relative divergence tolerance
|
void |
setMaxIterations(int maxIter)
Sets maximum number of iterations to permit
|
void |
setRegularizationParameter(float regularizationParameter)
Sets the regularization parameter
|
void |
setStoppingCondition(cern.colt.matrix.tfloat.algo.solver.HyBRFloatIterationMonitor.HyBRStoppingCondition stoppingCondition)
Sets the stopping condition
|
converged, converged, getIterationReporter, getNormType, isFirst, next, residual, setFirst, setIterationReporter, setNormType
public HyBRFloatIterationMonitor()
public HyBRFloatIterationMonitor(int maxIter, float dtol)
maxIter
- Maximum number of iterationsdtol
- Relative divergence tolerance (to initial residual)public boolean converged(float r, FloatMatrix1D x) throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged
in interface FloatIterationMonitor
converged
in class AbstractFloatIterationMonitor
r
- Residual-normx
- State-vectorIterativeSolverFloatNotConvergedException
public boolean converged(float r) throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged
in interface FloatIterationMonitor
converged
in class AbstractFloatIterationMonitor
r
- Residual-normIterativeSolverFloatNotConvergedException
public int getMaxIterations()
FloatIterationMonitor
public void setMaxIterations(int maxIter)
FloatIterationMonitor
maxIter
- Maximum number of iterationspublic void setDivergenceTolerance(float dtol)
dtol
- relative divergence tolerance (to initial residual)public float getDivergenceTolerance()
public float getRegularizationParameter()
public void setRegularizationParameter(float regularizationParameter)
regularizationParameter
- regularization parameterpublic void setStoppingCondition(cern.colt.matrix.tfloat.algo.solver.HyBRFloatIterationMonitor.HyBRStoppingCondition stoppingCondition)
stoppingCondition
- stopping conditionpublic cern.colt.matrix.tfloat.algo.solver.HyBRFloatIterationMonitor.HyBRStoppingCondition getStoppingCondition()
public int iterations()
FloatIterationMonitor
iterations
in interface FloatIterationMonitor
iterations
in class AbstractFloatIterationMonitor
Jump to the Parallel Colt Homepage