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

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.data.A_PrioriRupRates
All Implemented Interfaces:
java.io.Serializable

public class A_PrioriRupRates
extends java.lang.Object
implements java.io.Serializable

This class is used to hold the segment rates and ruptures rates after reading from the excel File

Author:
vipingupta
See Also:
Serialized Form

Constructor Summary
A_PrioriRupRates(java.lang.String faultName)
          constructor : Accepts the segment name
 
Method Summary
 java.util.ArrayList<java.lang.Double> getA_PrioriRates(java.lang.String modelName)
          Get the A priori rates for the solution type
 java.lang.String getFaultName()
          Get the segment name
 java.util.ArrayList<java.lang.String> getSupportedModelNames()
          Get a list of all supported model names (Eg.
 void putRupRate(java.lang.String modelName, double rate)
          Add the rup rate for specified model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

A_PrioriRupRates

public A_PrioriRupRates(java.lang.String faultName)
constructor : Accepts the segment name

Parameters:
segmentName -
Method Detail

getFaultName

public java.lang.String getFaultName()
Get the segment name

Returns:

putRupRate

public void putRupRate(java.lang.String modelName,
                       double rate)
Add the rup rate for specified model


getSupportedModelNames

public java.util.ArrayList<java.lang.String> getSupportedModelNames()
Get a list of all supported model names (Eg. Geologic, Min, max)

Returns:

getA_PrioriRates

public java.util.ArrayList<java.lang.Double> getA_PrioriRates(java.lang.String modelName)
Get the A priori rates for the solution type

Parameters:
modelName -
Returns: