Release Planner v1.0

rp.expn
Class EstimateExpn

java.lang.Object
  |
  +--java.util.Observable
        |
        +--rp.expn.Expn
              |
              +--rp.expn.EstimateExpn

public class EstimateExpn
extends Expn

A constant (stochastic) estimate in an expression tree.

Version:
$Revision: 1.1 $, $Date: 2001/05/23 18:44:55 $

Constructor Summary
EstimateExpn(Estimate value)
          Constructs an EstiamteExpn with the given estimate.
 
Method Summary
 double getScalarMean()
          Get the mean of this node's estimate.
 Estimate getValue()
          Gets the stochastic estimate associated with this expression node.
 void setValue(Estimate value)
          Sets or changes the stochastic estimate associated with this expression node.
 
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

EstimateExpn

public EstimateExpn(Estimate value)
Constructs an EstiamteExpn with the given estimate.

Parameters:
value - the initial estimate
Method Detail

getScalarMean

public double getScalarMean()
Get the mean of this node's estimate.

Specified by:
getScalarMean in class Expn
Returns:
the mean value of this node's estimate

setValue

public void setValue(Estimate value)
Sets or changes the stochastic estimate associated with this expression node. Immediately notifies observers of the change.

Parameters:
value - the new estimate

getValue

public Estimate getValue()
Gets the stochastic estimate associated with this expression node.

Returns:
the estimate

Release Planner v1.0