openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
bioclim_histogram.hh
Go to the documentation of this file.
1
36
#ifndef _BIOCLIM_HISTOGRAM_HH_
37
#define _BIOCLIM_HISTOGRAM_HH_
38
39
#include <
openmodeller/om.hh
>
40
41
#define HIST_BOX_RESOLUTION 0.01
42
#define BIOCLIM_LEVEL_RESOLUTION 0.005
43
#define BIOCLIM_MAX_LEVEL 0.2
44
45
#define MAX_ENV_LAYERS 256
46
47
// ===========================================================================
48
// Declaration and Implementation of class BioclimHistogram
49
// ===========================================================================
50
class
BioclimHistogram
51
{
52
public
:
53
BioclimHistogram
();
54
~BioclimHistogram
();
55
56
int
resamples
()
const
;
57
58
void
initialize
(
const
OccurrencesPtr
& occs);
59
60
void
getBioclimRange
(
Scalar
prediction,
int
layerIndex,
61
Scalar
& minCutLevel,
Scalar
& maxCutLevel)
const
;
62
63
private
:
64
void
reset
();
65
66
int
_resamples
;
67
68
int
_matrix
[2][
MAX_ENV_LAYERS
][256];
69
int
_depend
[2];
70
71
// bioclim histogram
72
double
*
_upperLevels
;
73
double
*
_lowerLevels
;
74
};
75
76
/****************************************************************/
77
78
#endif
79
BioclimHistogram
Definition:
Utilities.h:261
BioclimHistogram::_depend
int _depend[2]
Definition:
bioclim_histogram.hh:69
om.hh
Scalar
double Scalar
Type of map values.
Definition:
om_defs.hh:39
BioclimHistogram::getBioclimRange
void getBioclimRange(Scalar prediction, int layerIndex, Scalar &minCutLevel, Scalar &maxCutLevel) const
Definition:
bioclim_histogram.cpp:132
BioclimHistogram::_lowerLevels
double * _lowerLevels
Definition:
bioclim_histogram.hh:73
ReferenceCountedPointer< OccurrencesImpl >
BioclimHistogram::reset
void reset()
Definition:
Utilities.h:269
BioclimHistogram::BioclimHistogram
BioclimHistogram()
Definition:
Utilities.h:266
MAX_ENV_LAYERS
#define MAX_ENV_LAYERS
Definition:
bioclim_histogram.hh:45
BioclimHistogram::_resamples
int _resamples
Definition:
bioclim_histogram.hh:66
BioclimHistogram::resamples
int resamples() const
Definition:
bioclim_histogram.cpp:126
BioclimHistogram::_upperLevels
double * _upperLevels
Definition:
bioclim_histogram.hh:72
BioclimHistogram::_matrix
int _matrix[2][MAX_ENV_LAYERS][256]
Definition:
bioclim_histogram.hh:68
BioclimHistogram::~BioclimHistogram
~BioclimHistogram()
Definition:
bioclim_histogram.cpp:56
BioclimHistogram::initialize
void initialize(const OccurrencesPtr &occs)
Definition:
bioclim_histogram.cpp:64
src
algorithms
garp
bioclim_histogram.hh
Generated on Thu Jan 8 2015 17:05:09 for openModeller by
1.8.6