EDU.gatech.cc.is.clay
Class b_Not_s
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_Not_s
- public class b_Not_s
- extends NodeBoolean
Provides the inverse of an embedded scalar node's value.
If the embedded node is not boolean (double or int), then
it is considered true if non-zero.
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 representing the inverse of
the output of the embedded schema. |
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_Not_s
public b_Not_s(NodeScalar im1)
- Instantiate a b_Not_s operator.
- Parameters:
im1
- NodeScalar, the embedded perceptual schema that generates a value
to be inverted.
Value
public boolean Value(long timestamp)
- Return a boolean representing the inverse of
the output of the embedded schema.
- Overrides:
- Value in class NodeBoolean
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- the inverse, true or false.