org.gcube.dataanalysis.ecoengine.spatialdistributions
Class BayesianDistribution

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.spatialdistributions.BayesianDistribution
All Implemented Interfaces:
SpatialProbabilityDistribution, SpatialProbabilityDistributionGeneric
Direct Known Subclasses:
FeedForwardNeuralNetworkDistribution

public abstract class BayesianDistribution
extends Object
implements SpatialProbabilityDistributionGeneric


Field Summary
protected  AlgorithmConfiguration config
           
protected  org.hibernate.SessionFactory dbConnection
           
protected  String featuresTable
           
protected  String featuresTableColumns
           
protected static String FeaturesTableColumnsP
           
protected static String FeaturesTableP
           
protected  String finalTableLabel
           
protected static String FinalTableLabel
           
protected  String finalTableName
           
protected static String FinalTableName
           
protected static String FinalTableValue
           
protected static String FinalTableValueType
           
protected  String groupingFactor
           
protected static String GroupingFactor
           
protected  String modelName
           
protected static String ModelName
           
protected  float status
           
protected  String userName
           
protected static String UserName
           
 
Constructor Summary
BayesianDistribution()
           
 
Method Summary
 String getGeographicalID(Object geoInfo)
           
 List<Object> getGeographicalInfoObjects()
           
 String getGeographicalInfoType()
           
 List<StatisticalType> getInputParameters()
           
 float getInternalStatus()
           
 String getMainInfoID(Object mainInfo)
           
 List<Object> getMainInfoObjects()
           
 String getMainInfoType()
           
 StatisticalType getOutput()
           
 ALG_PROPS[] getProperties()
           
 void init(AlgorithmConfiguration config)
           
 void postProcess()
           
 void storeDistribution(Map<Object,Map<Object,Float>> distribution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.dataanalysis.ecoengine.interfaces.SpatialProbabilityDistributionGeneric
calcProb, singleStepPostprocess, singleStepPreprocess
 
Methods inherited from interface org.gcube.dataanalysis.ecoengine.interfaces.SpatialProbabilityDistribution
getDescription, getName
 

Field Detail

FeaturesTableP

protected static String FeaturesTableP

FeaturesTableColumnsP

protected static String FeaturesTableColumnsP

FinalTableLabel

protected static String FinalTableLabel

FinalTableName

protected static String FinalTableName

FinalTableValue

protected static String FinalTableValue

FinalTableValueType

protected static String FinalTableValueType

GroupingFactor

protected static String GroupingFactor

ModelName

protected static String ModelName

UserName

protected static String UserName

status

protected float status

featuresTable

protected String featuresTable

featuresTableColumns

protected String featuresTableColumns

finalTableName

protected String finalTableName

finalTableLabel

protected String finalTableLabel

modelName

protected String modelName

userName

protected String userName

groupingFactor

protected String groupingFactor

dbConnection

protected org.hibernate.SessionFactory dbConnection

config

protected AlgorithmConfiguration config
Constructor Detail

BayesianDistribution

public BayesianDistribution()
Method Detail

getMainInfoType

public String getMainInfoType()
Specified by:
getMainInfoType in interface SpatialProbabilityDistributionGeneric

getGeographicalInfoType

public String getGeographicalInfoType()
Specified by:
getGeographicalInfoType in interface SpatialProbabilityDistributionGeneric

getMainInfoObjects

public List<Object> getMainInfoObjects()
Specified by:
getMainInfoObjects in interface SpatialProbabilityDistributionGeneric

getGeographicalInfoObjects

public List<Object> getGeographicalInfoObjects()
Specified by:
getGeographicalInfoObjects in interface SpatialProbabilityDistributionGeneric

storeDistribution

public void storeDistribution(Map<Object,Map<Object,Float>> distribution)
                       throws Exception
Specified by:
storeDistribution in interface SpatialProbabilityDistributionGeneric
Throws:
Exception

getInternalStatus

public float getInternalStatus()
Specified by:
getInternalStatus in interface SpatialProbabilityDistributionGeneric

getMainInfoID

public String getMainInfoID(Object mainInfo)
Specified by:
getMainInfoID in interface SpatialProbabilityDistributionGeneric

getGeographicalID

public String getGeographicalID(Object geoInfo)
Specified by:
getGeographicalID in interface SpatialProbabilityDistributionGeneric

getProperties

public ALG_PROPS[] getProperties()
Specified by:
getProperties in interface SpatialProbabilityDistribution

postProcess

public void postProcess()
Specified by:
postProcess in interface SpatialProbabilityDistributionGeneric

getInputParameters

public List<StatisticalType> getInputParameters()
Specified by:
getInputParameters in interface SpatialProbabilityDistribution

getOutput

public StatisticalType getOutput()
Specified by:
getOutput in interface SpatialProbabilityDistribution

init

public void init(AlgorithmConfiguration config)
          throws Exception
Specified by:
init in interface SpatialProbabilityDistributionGeneric
Throws:
Exception


Copyright © 2012. All Rights Reserved.