EDU.gatech.cc.is.clay
Class i_Merge_ba

java.lang.Object
  |
  +--EDU.gatech.cc.is.clay.Node
        |
        +--EDU.gatech.cc.is.clay.NodeScalar
              |
              +--EDU.gatech.cc.is.clay.NodeInt
                    |
                    +--EDU.gatech.cc.is.clay.i_Merge_ba

public class i_Merge_ba
extends NodeInt

Merge the outputs of embedded boolean nodes into a single int. embedded[0] is most significant bit, embedded[embedded.length] is least significant bit. Configuration is by setting the embedded[] array directly.

For detailed information on how to configure behaviors, see the Clay page.

Copyright (c)1997, 1998 Tucker Balch


Field Summary
 NodeBoolean[] embedded
           
static int MAX_EMBEDDED
          Maximum number of embedded nodes
 
Fields inherited from class EDU.gatech.cc.is.clay.Node
DEBUG, embedded_nodes
 
Constructor Summary
i_Merge_ba()
          Instantiate an i_Merge_ba node.
 
Method Summary
 int Value(long timestamp)
          Get the integer value.
 
Methods inherited from class EDU.gatech.cc.is.clay.NodeInt
booleanValue, doubleValue, intValue
 
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
 

Field Detail

MAX_EMBEDDED

public static final int MAX_EMBEDDED
Maximum number of embedded nodes

embedded

public NodeBoolean[] embedded
Constructor Detail

i_Merge_ba

public i_Merge_ba()
Instantiate an i_Merge_ba node.
Method Detail

Value

public int Value(long timestamp)
Get the integer value.
Overrides:
Value in class NodeInt
Parameters:
timestamp - long, the time of the request.
Returns:
the integer value.