All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.d_Add_dd

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_Add_dd

public class d_Add_dd
extends NodeDouble
Add the output of two NodeDoubles.

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

Variable Index

 o DEBUG
Turn debugging on or off.

Constructor Index

 o d_Add_dd(NodeDouble, NodeDouble)
Instantiate a d_Add_dd schema.

Method Index

 o Value(long)
Return a double representing the sum.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debugging on or off.

Constructors

 o d_Add_dd
 public d_Add_dd(NodeDouble im1,
                 NodeDouble im2)
Instantiate a d_Add_dd schema. It will compute im1+im2.

Parameters:
im1 - NodeDouble, the embedded node that generates a double.
im2 - NodeDouble, an embedded node that generates a double.

Methods

 o Value
 public double Value(long timestamp)
Return a double representing the sum.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the vector difference.
Overrides:
Value in class NodeDouble

All Packages  Class Hierarchy  This Package  Previous  Next  Index