|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalgo.BestByteLocStore
class BestByteLocStore
Storage for best path found so far.
| Field Summary | |
|---|---|
private int |
idlers
|
private Path |
path
|
int |
threads
|
| Constructor Summary | |
|---|---|
BestByteLocStore(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 BestByteLocStore(Path b,
int i,
int t)
b - best known path.i - idle threads.t - number of threads.| Method Detail |
|---|
public Path getPath()
public void setPath(Path p)
p - new best 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 | ||||||||