|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CurveResultsArchiver
This interface defines a mechanism for storing hazard curve results. Initially this will probably just have one implementation, storing hazard curves to files. In the future, you may want to have this write the values to a database
| Field Summary |
|---|
| Fields inherited from interface org.opensha.commons.metadata.XMLSaveable |
|---|
XML_METADATA_NAME |
| Method Summary | |
|---|---|
void |
archiveCurve(ArbitrarilyDiscretizedFunc curve,
CurveMetadata meta)
This stores the curve for the given site. |
File |
getStoreDir()
Return the store dir if applicable (null otherwise) for this archiver. |
boolean |
isCurveCalculated(CurveMetadata meta,
ArbitrarilyDiscretizedFunc xVals)
Returns true if the given curve has already been calculated and archived |
| Methods inherited from interface org.opensha.commons.metadata.XMLSaveable |
|---|
toXMLMetadata |
| Method Detail |
|---|
void archiveCurve(ArbitrarilyDiscretizedFunc curve,
CurveMetadata meta)
throws IOException
curve - - the curve itselfmeta - - curve metadata
IOException
boolean isCurveCalculated(CurveMetadata meta,
ArbitrarilyDiscretizedFunc xVals)
meta - xVals -
File getStoreDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||