|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread edu.jhu.cs.cisst.algorithms.optimize.fmg.FMGThread
public final class FMGThread
A helper class of class FMG that implements the run() method of class thread.
Creating an object of this class means creating a new thread and immediately starting it. The run() method of this thread than simply calls method FMG.fmgProper() of the FMG object that it is helping.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
FMGThread(FMG fmg,
int numPresmooth,
int numPostsmooth,
int cyclingStrategy,
int numMultiGrid)
construct from target FMG object and from the parameters that will be passed on to method FMG.fmgProper() and immediately start the thread, i.e. |
Method Summary | |
---|---|
void |
run()
re-routes to FMG.fmgProper() |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FMGThread(FMG fmg, int numPresmooth, int numPostsmooth, int cyclingStrategy, int numMultiGrid)
fmg
- the target FMG object, i.e. the object whose fmgProper() method will be called from run()numPresmooth
- the num presmoothnumPostsmooth
- the num postsmoothcyclingStrategy
- the cycling strategynumMultiGrid
- the num multi gridMethod Detail |
---|
public void run()
implements method from Thread.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()
,
FMG#fmgProper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |