All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.d_Select_i
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeScalar
|
+----EDU.gatech.cc.is.clay.NodeDouble
|
+----EDU.gatech.cc.is.clay.d_Select_i
- public class d_Select_i
- extends NodeDouble
Select one from an array of doubles based on the output of
an embedded integer schema. The embedded selector outputs
an integer, which indicates which of the doubles to output.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
DEBUG
- Turn debug printing on or off.
-
embedded
- The double values that are the outputs selected from.
-
MAX_EMBEDDED
- Maximum number of choices to select from.
-
d_Select_i(NodeInt)
- Instantiate a d_Select_i node.
-
Value(long)
- Return a double selectively activated
based on the embedded NodeInt selector.
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
MAX_EMBEDDED
public static final int MAX_EMBEDDED
- Maximum number of choices to select from.
embedded
public double embedded[]
- The double values that are the outputs selected from.
d_Select_i
public d_Select_i(NodeInt s)
- Instantiate a d_Select_i node.
- Parameters:
- s - NodeInt, the selector.
Value
public double Value(long timestamp)
- Return a double selectively activated
based on the embedded NodeInt selector.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- the double.
- Overrides:
- Value in class NodeDouble
All Packages Class Hierarchy This Package Previous Next Index