|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalgo.DistBestStore
class DistBestStore
Storage for best path found so far.
Field Summary | |
---|---|
private int |
idlers
|
private Path |
path
|
int |
threads
|
Constructor Summary | |
---|---|
DistBestStore(Path b,
int i,
int t)
|
Method Summary | |
---|---|
boolean |
allIdle()
|
void |
decIdle()
|
Path |
getPath()
|
void |
incIdle()
|
void |
setPath(Path p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Path path
private int idlers
public final int threads
Constructor Detail |
---|
public DistBestStore(Path b, int i, int t)
b
- a Path.i
- number of idle processes.t
- total number of processes.Method Detail |
---|
public Path getPath()
public void setPath(Path p)
p
- a Path.public void incIdle()
public void decIdle()
public boolean allIdle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |