|
Parallel Colt 0.7.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FloatIterationMonitor
Monitors the iterative solution process for convergence and divergence. Can also report the current progress.
Method Summary | |
---|---|
boolean |
converged(float r)
Checks for convergence |
boolean |
converged(float r,
FloatMatrix1D x)
Checks for convergence |
boolean |
converged(FloatMatrix1D r)
Checks for convergence |
boolean |
converged(FloatMatrix1D r,
FloatMatrix1D x)
Checks for convergence |
FloatIterationReporter |
getIterationReporter()
Returns current iteration reporter |
int |
getMaxIterations()
Returns the maximum number of iterations |
Norm |
getNormType()
Returns the vector-norm in use |
boolean |
isFirst()
Returns true for the first iteration |
int |
iterations()
Number of iterations performed |
void |
next()
Increases iteration counter |
float |
residual()
Returns current residual |
void |
setFirst()
Resets the iteration |
void |
setIterationReporter(FloatIterationReporter monitor)
Sets new iteration reporter |
void |
setMaxIterations(int maxIter)
Sets maximum number of iterations to permit |
void |
setNormType(Norm normType)
Sets the vector-norm to calculate with |
Method Detail |
---|
void setFirst()
boolean isFirst()
void next()
int iterations()
float residual()
boolean converged(FloatMatrix1D r, FloatMatrix1D x) throws IterativeSolverFloatNotConvergedException
r
- Residual-vectorx
- State-vector
IterativeSolverFloatNotConvergedException
boolean converged(float r, FloatMatrix1D x) throws IterativeSolverFloatNotConvergedException
r
- Residual-normx
- State-vector
IterativeSolverFloatNotConvergedException
boolean converged(float r) throws IterativeSolverFloatNotConvergedException
r
- Residual-norm
IterativeSolverFloatNotConvergedException
boolean converged(FloatMatrix1D r) throws IterativeSolverFloatNotConvergedException
r
- Residual-vector
IterativeSolverFloatNotConvergedException
void setIterationReporter(FloatIterationReporter monitor)
FloatIterationReporter getIterationReporter()
void setNormType(Norm normType)
Norm getNormType()
void setMaxIterations(int maxIter)
maxIter
- Maximum number of iterationsint getMaxIterations()
|
Parallel Colt 0.7.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |