edu.sc.seis.sod.subsetter.origin
Class RemoveEventDuplicate
java.lang.Object
edu.sc.seis.sod.subsetter.origin.RemoveEventDuplicate
- All Implemented Interfaces:
- SodElement, OriginSubsetter, Subsetter
- Direct Known Subclasses:
- SimilarEvent
public class RemoveEventDuplicate
- extends java.lang.Object
- implements OriginSubsetter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeVariance
protected QuantityImpl timeVariance
distanceVariance
protected QuantityImpl distanceVariance
depthVariance
protected QuantityImpl depthVariance
RemoveEventDuplicate
public RemoveEventDuplicate(org.w3c.dom.Element config)
throws ConfigurationException
- Throws:
ConfigurationException
RemoveEventDuplicate
public RemoveEventDuplicate(QuantityImpl timeVariance,
QuantityImpl distanceVariance,
QuantityImpl depthVariance)
throws ConfigurationException
- Throws:
ConfigurationException
RemoveEventDuplicate
public RemoveEventDuplicate()
getEventStatusTable
public StatefulEventDB getEventStatusTable()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
accept
public StringTree accept(CacheEvent eventAccess,
EventAttrImpl eventAttr,
OriginImpl preferred_origin)
throws java.lang.Exception
- Specified by:
accept
in interface OriginSubsetter
- Throws:
java.lang.Exception
isDistanceClose
public boolean isDistanceClose(CacheEvent eventA,
Origin originB)
getEventsNearTimeAndDepth
public java.util.List getEventsNearTimeAndDepth(Origin preferred_origin)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setTimeVariance
protected void setTimeVariance(QuantityImpl timeVariance)
throws ConfigurationException
- Throws:
ConfigurationException
setDistanceVariance
protected void setDistanceVariance(QuantityImpl maxDistance)
throws ConfigurationException
- Throws:
ConfigurationException
setDepthVariance
protected void setDepthVariance(QuantityImpl depthVariance)
throws ConfigurationException
- Throws:
ConfigurationException