EDU.gatech.cc.is.clay
Class va_Persist_va
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2Array
|
+--EDU.gatech.cc.is.clay.va_Persist_va
- public class va_Persist_va
- extends NodeVec2Array
Remember Vec2s for a given period of time.
If a new vector arrives, close in value to one of the existing
Vec2s, they are merged.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
Field Summary |
static boolean |
DEBUG
Turn debug printing on or off. |
static int |
MAX_VECS
Maximum number of Vec2s in memory. |
Method Summary |
Vec2[] |
Value(long timestamp)
Return a Vec2Array that are the persistant values. |
Methods inherited from class EDU.gatech.cc.is.clay.Node |
initTrial |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
MAX_VECS
public static final int MAX_VECS
- Maximum number of Vec2s in memory.
va_Persist_va
public va_Persist_va(double p,
double mr,
NodeVec2Array im1)
- Instantiate a va_Persist_va node.
- Parameters:
p
- double, the persistence in seconds.mr
- double, how close things must be to be considered the same.im1
- NodeVec2Array, the embedded perceptual schema that generates a list
of items to filter.
Value
public Vec2[] Value(long timestamp)
- Return a Vec2Array that are the persistant values.
- Overrides:
- Value in class NodeVec2Array
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- the array.