org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.data
Class SegmentRecurIntv

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.data.SegmentRecurIntv

public class SegmentRecurIntv
extends java.lang.Object

It saves the low, high and mean recurrence interval for segments on the A-faults

Author:
vipingupta

Constructor Summary
SegmentRecurIntv(java.lang.String faultName)
           
 
Method Summary
 void addHighRecurIntv(double recurIntv)
          Add high recurrence interval
 void addLowRecurIntv(double recurIntv)
          Add low recurrence interval
 void addMeanRecurIntv(double recurIntv)
          Add mean recurrence interval
 java.lang.String getFaultName()
          Get fault name
 double getHighRecurIntv(int segIndex)
          Get high recurrence interval
 double getLowRecurIntv(int segIndex)
          Get low recurrence interval
 double getMeanRecurIntv(int segIndex)
          Get mean recurrence interval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentRecurIntv

public SegmentRecurIntv(java.lang.String faultName)
Method Detail

addMeanRecurIntv

public void addMeanRecurIntv(double recurIntv)
Add mean recurrence interval

Parameters:
recurIntv -

addLowRecurIntv

public void addLowRecurIntv(double recurIntv)
Add low recurrence interval

Parameters:
recurIntv -

addHighRecurIntv

public void addHighRecurIntv(double recurIntv)
Add high recurrence interval

Parameters:
recurIntv -

getMeanRecurIntv

public double getMeanRecurIntv(int segIndex)
Get mean recurrence interval

Parameters:
recurIntv -

getLowRecurIntv

public double getLowRecurIntv(int segIndex)
Get low recurrence interval

Parameters:
recurIntv -

getHighRecurIntv

public double getHighRecurIntv(int segIndex)
Get high recurrence interval

Parameters:
recurIntv -

getFaultName

public java.lang.String getFaultName()
Get fault name

Returns: