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:
Serializable

public class A_PrioriRupRates
extends Object
implements 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(String faultName)
          constructor : Accepts the segment name
 
Method Summary
 ArrayList<Double> getA_PrioriRates(String modelName)
          Get the A priori rates for the solution type
 String getFaultName()
          Get the segment name
 ArrayList<String> getSupportedModelNames()
          Get a list of all supported model names (Eg.
 void putRupRate(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(String faultName)
constructor : Accepts the segment name

Parameters:
segmentName -
Method Detail

getFaultName

public String getFaultName()
Get the segment name

Returns:

putRupRate

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


getSupportedModelNames

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

Returns:

getA_PrioriRates

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

Parameters:
modelName -
Returns: