|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.tubs.cs.sc.casim.HeapElement
Special heapelement for use in asynchronous update with exponential waiting times.
| Field Summary | |
protected int[] |
coordinates
|
protected double |
time
|
| Constructor Summary | |
protected |
HeapElement(int[] coordinates)
constructs a new HeapElement with the given coordinets and a random time drawn from an exponential distribution. |
| Method Summary | |
protected void |
incrementRandom()
add a random time drawn from an exponential distribution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int[] coordinates
protected double time
| Constructor Detail |
protected HeapElement(int[] coordinates)
| Method Detail |
protected void incrementRandom()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||