Release Planner v1.0

rp.expn
Class SumExpn

java.lang.Object
  |
  +--java.util.Observable
        |
        +--rp.expn.Expn
              |
              +--rp.expn.OperatorExpn
                    |
                    +--rp.expn.NaryOperatorExpn
                          |
                          +--rp.expn.SumExpn
All Implemented Interfaces:
java.util.Observer

public class SumExpn
extends NaryOperatorExpn

An N'ary operation node in an expression tree.

Version:
$Revision: 1.2 $, $Date: 2001/05/23 19:48:00 $

Field Summary
 
Fields inherited from class rp.expn.OperatorExpn
operands
 
Constructor Summary
SumExpn(Expn[] operands)
          Construct a new sum operator with the given operands.
 
Method Summary
 double getScalarMean()
          Return a (possibly computed) scalar mean for this node in the expression tree.
 
Methods inherited from class rp.expn.NaryOperatorExpn
setOperand, setOperand
 
Methods inherited from class rp.expn.OperatorExpn
getNumOperands, getOperand, getOperand, setNumOperands, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SumExpn

public SumExpn(Expn[] operands)
Construct a new sum operator with the given operands.

Parameters:
operands - an array of operands
Method Detail

getScalarMean

public double getScalarMean()
Description copied from class: Expn
Return a (possibly computed) scalar mean for this node in the expression tree. Returns the most straight-forward, easily-computed mean value.

Specified by:
getScalarMean in class Expn

Release Planner v1.0