org.gcube.dataanalysis.ecoengine.evaluation
Class HabitatRepresentativeness

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.interfaces.DataAnalysis
      extended by org.gcube.dataanalysis.ecoengine.evaluation.HabitatRepresentativeness
All Implemented Interfaces:
ComputationalAgent, Evaluator

public class HabitatRepresentativeness
extends DataAnalysis


Field Summary
 
Fields inherited from class org.gcube.dataanalysis.ecoengine.interfaces.DataAnalysis
processedRecords, resourceManager
 
Constructor Summary
HabitatRepresentativeness()
           
 
Method Summary
 HashMap<String,String> analyze(AlgorithmConfiguration config)
          Executed the core of the algorithm
 void calcFrequenciesDistributionsForComponents(double[][] pcaComponents)
           
 void end()
          ends the processing, e.g.
 List<StatisticalType> getInputParameters()
          establishes input parameters for this algorithm along with their type
 StatisticalType getOutput()
           
 List<String> getOutputParameters()
           
 float getStatus()
          gets the internal status of the operation
 void init(AlgorithmConfiguration config)
          initializes the procedure e.g.
static void main(String[] args)
           
static void visualizeResults(HashMap<String,String> results)
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.interfaces.DataAnalysis
getInfrastructure, getResourceLoad, getResources, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HabitatRepresentativeness

public HabitatRepresentativeness()
Method Detail

getInputParameters

public List<StatisticalType> getInputParameters()
Description copied from class: DataAnalysis
establishes input parameters for this algorithm along with their type

Specified by:
getInputParameters in interface ComputationalAgent
Specified by:
getInputParameters in class DataAnalysis

getOutputParameters

public List<String> getOutputParameters()

analyze

public HashMap<String,String> analyze(AlgorithmConfiguration config)
                               throws Exception
Description copied from class: DataAnalysis
Executed the core of the algorithm

Specified by:
analyze in class DataAnalysis
Returns:
Throws:
Exception

calcFrequenciesDistributionsForComponents

public void calcFrequenciesDistributionsForComponents(double[][] pcaComponents)

visualizeResults

public static void visualizeResults(HashMap<String,String> results)

init

public void init(AlgorithmConfiguration config)
          throws Exception
Description copied from class: DataAnalysis
initializes the procedure e.g. connects to the database

Specified by:
init in interface Evaluator
Specified by:
init in class DataAnalysis
Throws:
Exception

end

public void end()
Description copied from class: DataAnalysis
ends the processing, e.g. closes connections

Specified by:
end in interface Evaluator
Specified by:
end in class DataAnalysis

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getOutput

public StatisticalType getOutput()

getStatus

public float getStatus()
Description copied from class: DataAnalysis
gets the internal status of the operation

Specified by:
getStatus in interface ComputationalAgent
Overrides:
getStatus in class DataAnalysis


Copyright © 2012. All Rights Reserved.