public class OccurrencePointsMerger extends Object implements Transducerer
| Modifier and Type | Class and Description |
|---|---|
protected class |
OccurrencePointsMerger.OccurrenceRecord |
| Constructor and Description |
|---|
OccurrencePointsMerger() |
protected static String finalTableNameL
protected static String longitudeColumn
protected static String latitudeColumn
protected static String recordedByColumn
protected static String scientificNameColumn
protected static String eventDateColumn
protected static String lastModificationColumn
protected static String rightTableNameF
protected static String leftTableNameF
protected static String finalTableNameF
protected static String spatialTolerance
protected static String confidence
protected static String sqlDateFormat
protected static String javaDateFormat
protected static String tableNameF
protected List<OccurrencePointsMerger.OccurrenceRecord> records_left
protected List<OccurrencePointsMerger.OccurrenceRecord> records_right
protected AlgorithmConfiguration config
protected String lonFld
protected String latFld
protected String recordedByFld
protected String scientificNameFld
protected String eventDatFld
protected String modifDatFld
protected String leftTableName
protected String rightTableName
protected String finalTableName
protected String finalTableLabel
protected float spatialToleranceValue
protected float confidenceValue
protected StringBuffer columns
protected List<OccurrencePointsMerger.OccurrenceRecord> objectstoinsert
protected List<OccurrencePointsMerger.OccurrenceRecord> objectstodelete
protected org.hibernate.SessionFactory dbconnection
protected float status
protected boolean firstbest
public OccurrencePointsMerger.OccurrenceRecord row2OccurrenceRecord(Object[] row)
protected String takeEssential(OccurrencePointsMerger.OccurrenceRecord record)
public String occurrenceRecord2String(OccurrencePointsMerger.OccurrenceRecord record)
public List<StatisticalType> getInputParameters()
getInputParameters in interface AlgorithmDescriptorpublic String getResources()
getResources in interface ComputationalAgentpublic String getResourceLoad()
getResourceLoad in interface ComputationalAgentpublic float getStatus()
getStatus in interface ComputationalAgentpublic INFRASTRUCTURE getInfrastructure()
getInfrastructure in interface ComputationalAgentpublic StatisticalType getOutput()
getOutput in interface AlgorithmDescriptorpublic void init()
throws Exception
init in interface ComputationalAgentExceptionpublic void setConfiguration(AlgorithmConfiguration config)
setConfiguration in interface ComputationalAgentpublic String getDescription()
getDescription in interface AlgorithmDescriptorprotected float extProb(OccurrencePointsMerger.OccurrenceRecord right, OccurrencePointsMerger.OccurrenceRecord left)
protected void manageHighProbability(float probability,
OccurrencePointsMerger.OccurrenceRecord leftOcc,
OccurrencePointsMerger.OccurrenceRecord rightOcc)
protected void manageLowProbability(float probability,
OccurrencePointsMerger.OccurrenceRecord leftOcc,
OccurrencePointsMerger.OccurrenceRecord rightOcc)
protected void insertBuffer(StringBuffer buffer) throws Exception
Exceptionpublic void shutdown()
shutdown in interface ComputationalAgentpublic int getNumLeftObjects()
public int getNumRightObjects()
public void takeFullRanges()
public void takeRange(int offsetLeft,
int numLeft,
int offsetRight,
int numRight)
public void compute()
throws Exception
compute in interface ComputationalAgentExceptionCopyright © 2022. All Rights Reserved.