openModeller  Version 1.4.0
environmental_distance.cpp File Reference
Include dependency graph for environmental_distance.cpp:

Go to the source code of this file.

Defines

#define DATA_MIN   0.0
#define DATA_MAX   1.0
#define NUM_PARAM   3
#define PARDISTTYPE   "DistanceType"
#define PARPOINTQNT   "NearestPoints"
#define PARDIST   "MaxDistance"
#define PARDISTMIN   0.0
#define PARDISTMAX   1.0
#define LOG_SQRT_PI   0.5723649429247000870717135 /* log (sqrt (pi)) */
#define I_SQRT_PI   0.5641895835477562869480795 /* 1 / sqrt (pi) */
#define BIGX   20.0 /* max value to represent exp (x) */
#define ex(x)   (((x) < -BIGX) ? 0.0 : exp (x))
#define Z_MAX   6.0 /* maximum meaningful z value */

Functions

OM_ALG_DLL_EXPORT AlgorithmImplalgorithmFactory ()
OM_ALG_DLL_EXPORT AlgMetadata
const * 
algorithmMetadata ()

Variables

static AlgParamMetadata parameters [NUM_PARAM]
static AlgMetadata metadata

Define Documentation

#define BIGX   20.0 /* max value to represent exp (x) */

Definition at line 31 of file environmental_distance.cpp.

Referenced by EnvironmentalDistance::_pochisq().

#define ex (   x)    (((x) < -BIGX) ? 0.0 : exp (x))

Definition at line 32 of file environmental_distance.cpp.

Referenced by EnvironmentalDistance::_pochisq().

#define I_SQRT_PI   0.5641895835477562869480795 /* 1 / sqrt (pi) */

Definition at line 30 of file environmental_distance.cpp.

Referenced by EnvironmentalDistance::_pochisq().

#define LOG_SQRT_PI   0.5723649429247000870717135 /* log (sqrt (pi)) */

Definition at line 29 of file environmental_distance.cpp.

Referenced by EnvironmentalDistance::_pochisq().

#define NUM_PARAM   3

Definition at line 21 of file environmental_distance.cpp.

#define PARDIST   "MaxDistance"
#define PARDISTTYPE   "DistanceType"
#define PARPOINTQNT   "NearestPoints"
#define Z_MAX   6.0 /* maximum meaningful z value */

Definition at line 33 of file environmental_distance.cpp.

Referenced by EnvironmentalDistance::_poz().


Function Documentation

OM_ALG_DLL_EXPORT AlgorithmImpl* algorithmFactory ( )

Definition at line 104 of file environmental_distance.cpp.

OM_ALG_DLL_EXPORT AlgMetadata const* algorithmMetadata ( )

Definition at line 108 of file environmental_distance.cpp.

References metadata.


Variable Documentation

Initial value:
 { 
  "ENVDIST",                    
  "Environmental Distance",     
  "0.5",                        
  "Generic algorithm based on environmental dissimilarity metrics.", 
  "Generic algorithm based on environmental dissimilarity metrics. When used with the Gower metric and maximum distance 1, this algorithm should produce the same result of the algorithm known as DOMAIN.", 
  "Mauro E. S. Munoz, Renato De Giovanni, Danilo J. S. Bellini",    
  "Carpenter G, Gillison AN, Winter J (1993) DOMAIN: A flexible modeling procedure for mapping potential distributions of animals and plants. Biodiversity and Conservation 2: 667-680. Farber O & Kadmon R 2003. Assessment of alternative approaches for bioclimatic modeling with special emphasis on the Mahalanobis distance. Ecological Modelling 160: 115–130.", 
  "Danilo J. S. Bellini, Renato De Giovanni", 
  "danilo . estagio [at] gmail . com, renato [at] cria . org . br", 
  0,                    
  0,                    
  NUM_PARAM, parameters 
}

Definition at line 82 of file environmental_distance.cpp.

Definition at line 35 of file environmental_distance.cpp.