org.opensha.sha.earthquake.calc.recurInterval
Class ExponentialDistCalc

java.lang.Object
  extended by org.opensha.sha.earthquake.calc.recurInterval.EqkProbDistCalc
      extended by org.opensha.sha.earthquake.calc.recurInterval.ExponentialDistCalc
All Implemented Interfaces:
EventListener, ParameterChangeListener

public final class ExponentialDistCalc
extends EqkProbDistCalc
implements ParameterChangeListener

Title: ExponentialDistCalc.java

Description:

.

Version:
1.0
Author:
Edward Field

Field Summary
 
Fields inherited from class org.opensha.sha.earthquake.calc.recurInterval.EqkProbDistCalc
adjustableParams, aperiodicity, APERIODICITY_PARAM_INFO, APERIODICITY_PARAM_NAME, aperiodicityParam, cdf, commonInfoString, DEFAULT_APERIODICITY_PARAM_VAL, DEFAULT_DELTAX_PARAM_VAL, DEFAULT_DURATION_PARAM_VAL, DEFAULT_HIST_OPEN_INTERVAL_PARAM_VAL, DEFAULT_MEAN_PARAM_VAL, DEFAULT_NUMPOINTS_PARAM_VAL, DELTA_X_DEFAULT, DELTA_X_PARAM_INFO, DELTA_X_PARAM_NAME, deltaX, deltaX_Param, duration, DURATION_PARAM_INFO, DURATION_PARAM_NAME, durationParam, HIST_OPEN_INTERVAL_PARAM_INFO, HIST_OPEN_INTERVAL_PARAM_NAME, histOpenInterval, histOpenIntParam, integratedCDF, integratedOneMinusCDF, mean, MEAN_PARAM_INFO, MEAN_PARAM_NAME, meanParam, NAME, NUM_POINTS_PARAM_INFO, NUM_POINTS_PARAM_NAME, numPoints, numPointsParam, pdf, upToDate
 
Constructor Summary
ExponentialDistCalc()
           
 
Method Summary
protected  void computeDistributions()
           
static void main(String[] args)
          Main method for running tests.
 void setAll(double mean)
          Alternative without aperiodicity (which this distribution does not depend on)
 void setAll(double mean, double deltaX, int numPoints)
          Alternative without aperiodicity (which this distribution does not depend on)
 void setAll(double mean, double deltaX, int numPoints, double duration)
          Alternative without aperiodicity (which this distribution does not depend on)
 void setAll(double mean, double deltaX, int numPoints, double duration, double histOpenInterval)
          Alternative without aperiodicity (which this distribution does not depend on)
 
Methods inherited from class org.opensha.sha.earthquake.calc.recurInterval.EqkProbDistCalc
computeMeanFromPDF, fitToThisFunction, getAdjParams, getAperiodicity, getCDF, getCondProb, getCondProbForUnknownTimeSinceLastEvent, getCondProbFunc, getCondProbFunc, getCondProbGainFunc, getHazFunc, getMean, getMeanTimeSinceLastEventPDF, getName, getPDF, getTimeSinceLastEventPDF, initAdjParams, makeIntegratedCDFs, parameterChange, setAll, setAll, setAll, setAll, setAllParameters, setDuration, setDurationAndHistOpenInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensha.commons.param.event.ParameterChangeListener
parameterChange
 

Constructor Detail

ExponentialDistCalc

public ExponentialDistCalc()
Method Detail

setAll

public void setAll(double mean,
                   double deltaX,
                   int numPoints)
Alternative without aperiodicity (which this distribution does not depend on)

Parameters:
mean -
deltaX -
numPoints -

setAll

public void setAll(double mean,
                   double deltaX,
                   int numPoints,
                   double duration)
Alternative without aperiodicity (which this distribution does not depend on)

Parameters:
mean -
deltaX -
numPoints -
duration -

setAll

public void setAll(double mean,
                   double deltaX,
                   int numPoints,
                   double duration,
                   double histOpenInterval)
Alternative without aperiodicity (which this distribution does not depend on)

Parameters:
mean -
deltaX -
numPoints -
duration -

setAll

public void setAll(double mean)
Alternative without aperiodicity (which this distribution does not depend on)

Parameters:
mean -

computeDistributions

protected void computeDistributions()

main

public static void main(String[] args)
Main method for running tests.