atropos.lp
Class PredVector

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--atropos.lp.PredVector
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public class PredVector
extends java.util.Vector
implements java.io.Serializable

This class holds a set of prediction accuracy measures 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.

Version:
$Revision: 1.1.1.1 $ $State: Exp $
Author:
Steve Bush
See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PredVector()
           
 
Method Summary
 void addPred(PredMeasure pm)
          Add a prediction interval to the vector.
 void addSample(AvnmpStateQueue s, AvnmpTime lvt, AvnmpTime t, AvnmpLP mylp)
          Add a sample to all the relevant PredMeasure elements.
 void plotPred(AvnmpTime lvt, AvnmpTime t, AvnmpLP mylp)
          Examine all the average predicted values.
 void updateSnmpObjects(snmp.agent.SnmpAgentContext c, java.lang.String pLoadOid, java.lang.String pTimeOid, AvnmpTime lvt, AvnmpTime t, AvnmpLP mylp)
           
 
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

PredVector

public PredVector()
Method Detail

addPred

public void addPred(PredMeasure pm)
Add a prediction interval to the vector.

plotPred

public void plotPred(AvnmpTime lvt,
                     AvnmpTime t,
                     AvnmpLP mylp)
Examine all the average predicted values. Plot them at the given time.
Parameters:
t - The time at which the average prediction values are checked.
See Also:
PredMeasure, updateSnmpObjects(snmp.agent.SnmpAgentContext, java.lang.String, java.lang.String, atropos.lp.AvnmpTime, atropos.lp.AvnmpTime, atropos.lp.AvnmpLP)

addSample

public void addSample(AvnmpStateQueue s,
                      AvnmpTime lvt,
                      AvnmpTime t,
                      AvnmpLP mylp)
Add a sample to all the relevant PredMeasure elements.
Parameters:
s - The state queue
lvt - The local virtual time
t - The current time
myplp - The current logical process

updateSnmpObjects

public void updateSnmpObjects(snmp.agent.SnmpAgentContext c,
                              java.lang.String pLoadOid,
                              java.lang.String pTimeOid,
                              AvnmpTime lvt,
                              AvnmpTime t,
                              AvnmpLP mylp)


Copyright © 2002 GE Corporate Research and Development. All Rights Reserved.