|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RGSolveProgressUpdater
An interface showing necessary functions for any GUI that is compatible with updating of information from within RGSolve methods
Field Summary | |
---|---|
static RGSolveProgressUpdater |
emptyStatusPrinter
Prints nothing |
static RGSolveProgressUpdater |
statusPrinter
The default RGGui_Interface that prints all
progress updates to the console |
Method Summary | |
---|---|
void |
clearProgress()
clears the progress update location |
void |
printProgress(java.lang.String progressString)
Prints progressString to wherever
the GUI is displaying progress updates |
void |
setProgress(int iter,
int maxIter)
Sets the state of the solver into the GUI |
boolean |
wasStopped()
returns whether the solver thread has been stopped by the GUI and the algorithm should cease |
Field Detail |
---|
static final RGSolveProgressUpdater statusPrinter
RGGui_Interface
that prints all
progress updates to the console
static final RGSolveProgressUpdater emptyStatusPrinter
Method Detail |
---|
boolean wasStopped()
void setProgress(int iter, int maxIter)
iter
- the current iterationsmaxIter
- the max no. of iterationsvoid printProgress(java.lang.String progressString)
progressString
to wherever
the GUI is displaying progress updates
progressString
- void clearProgress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |