|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.griddedForecast.GriddedHypoMagFreqDistForecast
public abstract class GriddedHypoMagFreqDistForecast
Title: GriddedHypoMagFreqForecast
Description: This constitutes a Poissonian hypocenter forecast. Are locations unique?.
Note : The rate provided by this forecast are always yearly rate.
| Field Summary | |
|---|---|
protected boolean |
parameterChangeFlag
|
protected GriddedRegion |
region
|
| Fields inherited from interface org.opensha.sha.earthquake.BaseERF |
|---|
NAME |
| Constructor Summary | |
|---|---|
GriddedHypoMagFreqDistForecast()
|
|
| Method Summary | |
|---|---|
int |
compareTo(BaseERF o)
|
ParameterList |
getAdjustableParameterList()
Returns the adjustable parameters list |
ListIterator |
getAdjustableParamsIterator()
Returns the adjustable parameters as the ListIterator |
Region |
getApplicableRegion()
Get the region for which this forecast is applicable |
ArrayList<TectonicRegionType> |
getIncludedTectonicRegionTypes()
This specifies what types of Tectonic Regions are included in the ERF. |
String |
getName()
Return the name for this class |
int |
getNumHypoLocs()
getNumHypoLocation |
GriddedRegion |
getRegion()
Gets the EvenlyGriddedGeographic Region |
TimeSpan |
getTimeSpan()
Allows the user to get the Timespan for this GriddedHypoMagFreqDistForecast |
void |
parameterChange(ParameterChangeEvent event)
This is the main function of this interface. |
boolean |
setParameter(String name,
Object value)
Loops over all the adjustable parameters and set parameter with the given name to the given value. |
void |
setRegion(GriddedRegion region)
|
void |
setTimeSpan(TimeSpan timeSpan)
Allows the user to set the Timespan for this GriddedHypoMagFreqDistForecast |
void |
timeSpanChange(EventObject event)
Function that must be implemented by all Timespan Listeners for ParameterChangeEvents. |
String |
updateAndSaveForecast()
Update and save the serialized forecast into the file |
void |
updateForecast()
If any parameter has been changed then update the forecast. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensha.sha.earthquake.griddedForecast.HypoMagFreqDistAtMultLocsAPI |
|---|
getHypoMagFreqDistAtLoc |
| Field Detail |
|---|
protected boolean parameterChangeFlag
protected GriddedRegion region
| Constructor Detail |
|---|
public GriddedHypoMagFreqDistForecast()
| Method Detail |
|---|
public GriddedRegion getRegion()
public void setRegion(GriddedRegion region)
public Region getApplicableRegion()
getApplicableRegion in interface BaseERFpublic ParameterList getAdjustableParameterList()
getAdjustableParameterList in interface BaseERFpublic ListIterator getAdjustableParamsIterator()
public String getName()
getName in interface Namedpublic String updateAndSaveForecast()
updateAndSaveForecast in interface BaseERFpublic int getNumHypoLocs()
getNumHypoLocs in interface HypoMagFreqDistAtMultLocsAPIpublic void timeSpanChange(EventObject event)
event - The Event which triggered this function callpublic void parameterChange(ParameterChangeEvent event)
parameterChange in interface ParameterChangeListenerevent - public TimeSpan getTimeSpan()
getTimeSpan in interface BaseERF
public boolean setParameter(String name,
Object value)
setParameter in interface BaseERFname - String Name of the Adjustable Parametervalue - Object Parameeter Value
public void setTimeSpan(TimeSpan timeSpan)
setTimeSpan in interface BaseERFtimeSpan - TimeSpanpublic void updateForecast()
updateForecast in interface BaseERFpublic ArrayList<TectonicRegionType> getIncludedTectonicRegionTypes()
getIncludedTectonicRegionTypes in interface BaseERFpublic int compareTo(BaseERF o)
compareTo in interface Comparable<BaseERF>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||