|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--atropos.lp.PredMeasure
This class calculates a prediction accuracy measure over a given time interval. For the AVNMP system, there would be many of these objects; each object's time interval set from the current time to the end of the sliding window lookahead time.
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
PredMeasure(long start_time,
long end_time)
The sample interval. |
Method Summary | |
void |
addSample(AvnmpStateQueue sq,
long lvt,
long t,
AvnmpLP mylp)
Add a sample from the state queue over the sample interval of interest. |
double |
calcAcc(long lvt,
long t,
AvnmpLP mylp)
Compute the prediction accuracy measure. |
long |
endTime()
Return the sample interval end time. |
java.lang.String |
toPredString()
Display the state of this object by printing it's unique sample interval and current sample values. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public PredMeasure(long start_time, long end_time)
start_time
- Interval start time (simulation time).end_time
- Interval end time (simulation time). This is usually
the start_time plus the sliding window lookahead time.Method Detail |
public void addSample(AvnmpStateQueue sq, long lvt, long t, AvnmpLP mylp)
sq
- The state queue.lvt
- The local virtual time.t
- The current real time.mylp
- The current logical process in which this object
resides.public double calcAcc(long lvt, long t, AvnmpLP mylp) throws NoRealException, NoPredictedException
lvt
- The local virtual time.t
- The real time.mylp
- The current logical process in which this object
resides.public java.lang.String toPredString()
public long endTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |