org.opensha.sha.earthquake.rupForecastImpl.WG02
Class WG02_ERF_Epistemic_List

java.lang.Object
  extended by org.opensha.sha.earthquake.AbstractEpistemicListERF
      extended by org.opensha.sha.earthquake.rupForecastImpl.WG02.WG02_ERF_Epistemic_List
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BaseERF>, java.util.EventListener, Named, XMLSaveable, ParameterChangeListener, TimeSpanChangeListener, BaseERF, EpistemicListERF

public class WG02_ERF_Epistemic_List
extends AbstractEpistemicListERF

Title: WG02_ERF_Epistemic_List

Description: Working Group 2002 Epistemic List of ERFs. This class reads a single file and constructs the forecasts.

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
: Edward Field
See Also:
Serialized Form

Field Summary
static java.lang.String BACK_SEIS_NAME
           
static java.lang.String GR_TAIL_NAME
           
static java.lang.String NAME
           
static java.lang.String SEIS_EXCLUDE
           
static java.lang.String SEIS_INCLUDE
           
 
Fields inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF
adjustableParams, erf_List, parameterChangeFlag, timeSpan, XML_METADATA_NAME
 
Constructor Summary
WG02_ERF_Epistemic_List()
          No argument constructor
 
Method Summary
 double getERF_RelativeWeight(int index)
          get the weight of the ERF at the specified index
 ERF getERF(int index)
          get the ERF in the list with the specified index
 java.lang.String getName()
          Return the name for this class
 int getNumERFs()
          get the number of Eqk Rup Forecasts in this list
 java.util.ArrayList getRelativeWeightsList()
          Return the vector containing the Double values with relative weights for each ERF
static void main(java.lang.String[] args)
           
 void updateForecast()
          update the forecast
 
Methods inherited from class org.opensha.sha.earthquake.AbstractEpistemicListERF
addERF, compareTo, fromXMLMetadata, getAdjustableParameterList, getAdjustableParamsIterator, getApplicableRegion, getIncludedTectonicRegionTypes, getParameter, getTimeSpan, parameterChange, setParameter, setParameterChangeFlag, setTimeSpan, timeSpanChange, toXMLMetadata, toXMLMetadata, updateAndSaveForecast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME

BACK_SEIS_NAME

public static final java.lang.String BACK_SEIS_NAME

GR_TAIL_NAME

public static final java.lang.String GR_TAIL_NAME

SEIS_INCLUDE

public static final java.lang.String SEIS_INCLUDE

SEIS_EXCLUDE

public static final java.lang.String SEIS_EXCLUDE
Constructor Detail

WG02_ERF_Epistemic_List

public WG02_ERF_Epistemic_List()
No argument constructor

Method Detail

getName

public java.lang.String getName()
Return the name for this class

Specified by:
getName in interface Named
Overrides:
getName in class AbstractEpistemicListERF
Returns:
: return the name for this class

updateForecast

public void updateForecast()
update the forecast

Specified by:
updateForecast in interface BaseERF
Overrides:
updateForecast in class AbstractEpistemicListERF

getNumERFs

public int getNumERFs()
get the number of Eqk Rup Forecasts in this list

Specified by:
getNumERFs in interface EpistemicListERF
Overrides:
getNumERFs in class AbstractEpistemicListERF
Returns:
: number of eqk rup forecasts in this list

getERF

public ERF getERF(int index)
get the ERF in the list with the specified index

Specified by:
getERF in interface EpistemicListERF
Overrides:
getERF in class AbstractEpistemicListERF
Parameters:
index - : index of Eqk rup forecast to return
Returns:

getERF_RelativeWeight

public double getERF_RelativeWeight(int index)
get the weight of the ERF at the specified index

Specified by:
getERF_RelativeWeight in interface EpistemicListERF
Overrides:
getERF_RelativeWeight in class AbstractEpistemicListERF
Parameters:
index - : index of ERF
Returns:
: relative weight of ERF

getRelativeWeightsList

public java.util.ArrayList getRelativeWeightsList()
Return the vector containing the Double values with relative weights for each ERF

Specified by:
getRelativeWeightsList in interface EpistemicListERF
Overrides:
getRelativeWeightsList in class AbstractEpistemicListERF
Returns:
: ArrayList of Double values

main

public static void main(java.lang.String[] args)