|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.calc.FractileCurveCalculator
public class FractileCurveCalculator
Title: FractileCurveCalculator
Description: This class calculates fractiles from a list of discretized functions (e.g., hazzard curves) and their relative weights
Copyright: Copyright (c) 2002
Company:
| Constructor Summary | |
|---|---|
FractileCurveCalculator(XY_DataSetList functionList,
List<Double> relativeWts)
Constructor : Calls the set function |
|
| Method Summary | |
|---|---|
AbstractXY_DataSet |
getFractile(double fraction)
This returns the fractile curve corresponding to the specified fraction |
AbstractXY_DataSet |
getMaximumCurve()
This returns a curve with the maximum value among all the curves. |
AbstractXY_DataSet |
getMeanCurve()
This computes the mean curve from the list of functions (and their associated weights). |
AbstractXY_DataSet |
getMinimumCurve()
This returns a curve with the minimum value among all the curves. |
ArbitrarilyDiscretizedFunc |
getStdDev()
This returns the fractile curve corresponding to the specified fraction |
void |
set(XY_DataSetList functionList,
List<Double> relativeWts)
It accepts the function list for curves and relative weight assigned to each curve. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FractileCurveCalculator(XY_DataSetList functionList,
List<Double> relativeWts)
functionList - : List of curves for which fractile needs to be calculatedrelativeWts - : weight assigned to each curves. It expects the ArrayList
to contain Double values| Method Detail |
|---|
public void set(XY_DataSetList functionList,
List<Double> relativeWts)
functionList - : List of curves for which fractile needs to be calculatedrelativeWts - : Weight assigned to each curve, stored as a Double objects in this
array list in the same order as in the functionList. Note that these values do not have to
be normalized (they don't have to sum to 1.0) - this normalization is taken care of internally.public AbstractXY_DataSet getMeanCurve()
public AbstractXY_DataSet getMinimumCurve()
public AbstractXY_DataSet getMaximumCurve()
public ArbitrarilyDiscretizedFunc getStdDev()
fraction -
public AbstractXY_DataSet getFractile(double fraction)
fraction -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||