EDU.gatech.cc.is.clay
Class b_Close_vv
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeScalar
|
+--EDU.gatech.cc.is.clay.NodeBoolean
|
+--EDU.gatech.cc.is.clay.b_Close_vv
- public class b_Close_vv
- extends NodeBoolean
Return true if the values of
two embedded nodes are close to one another.
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. |
Method Summary |
boolean |
Value(long timestamp)
Return a boolean indicating if the two embedded schemas
are close to each other. |
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.
b_Close_vv
public b_Close_vv(double r,
NodeVec2 im1,
NodeVec2 im2)
- Instantiate a b_Close_vv schema.
- Parameters:
r
- double, how close they must be.im1
- NodeVec2, the embedded node that generates a vector
to be detected.im2
- NodeVec2, the embedded node that generates a vector
to be detected.
Value
public boolean Value(long timestamp)
- Return a boolean indicating if the two embedded schemas
are close to each other.
- Overrides:
- Value in class NodeBoolean
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- true if non-zero, false if zero.