openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
EnvCellSet.h
Go to the documentation of this file.
1
/* **************************************
2
* GARP Modeling Package
3
*
4
* **************************************
5
*
6
* Copyright (c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA.
7
* Copyright (C), David R.B. Stockwell of Symbiotik Pty. Ltd.
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the license that is distributed with the software.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* license.txt file included with this software for more details.
16
*/
17
18
// EnvCellSet.h : Declaration of the CEnvCellSet
19
20
#ifndef __ENVCELLSET_H_
21
#define __ENVCELLSET_H_
22
23
#include "
EnvCell.h
"
24
#include "
Utilities.h
"
25
26
// ============================================================================
27
// EnvCellSet
28
// ============================================================================
29
30
class
EnvCellSet
31
{
32
private
:
33
int
intCount
;
34
int
intSize
;
35
EnvCell
**
objCells
;
36
37
bool
resampled
;
38
39
// bioclim histograms
40
BioclimHistogram
*
histogram
;
41
42
public
:
43
EnvCellSet
();
44
EnvCellSet
(
int
size
);
45
virtual
~EnvCellSet
();
46
47
void
initialize
(
int
size
);
48
49
void
createBioclimHistogram
();
50
BioclimHistogram
*
getBioclimHistogram
();
51
52
EnvCellSet
*
resample
();
53
void
resampleInPlace
();
54
55
int
size
();
56
int
count
();
57
int
genes
();
58
59
void
add
(
EnvCell
* cell);
60
EnvCell
*
get
(
int
index);
61
};
62
63
// ============================================================================
64
#endif
BioclimHistogram
Definition:
Utilities.h:261
EnvCellSet::initialize
void initialize(int size)
Definition:
EnvCellSet.cpp:116
EnvCellSet::EnvCellSet
EnvCellSet()
Definition:
EnvCellSet.cpp:25
EnvCellSet::count
int count()
Definition:
EnvCellSet.cpp:139
EnvCellSet::getBioclimHistogram
BioclimHistogram * getBioclimHistogram()
Definition:
EnvCellSet.cpp:163
EnvCellSet::objCells
EnvCell ** objCells
Definition:
EnvCellSet.h:35
EnvCellSet::~EnvCellSet
virtual ~EnvCellSet()
Definition:
EnvCellSet.cpp:51
EnvCellSet::genes
int genes()
Definition:
EnvCellSet.cpp:124
EnvCell.h
EnvCell
Definition:
EnvCell.h:28
EnvCellSet::add
void add(EnvCell *cell)
Definition:
EnvCellSet.cpp:154
EnvCellSet::resampleInPlace
void resampleInPlace()
Definition:
EnvCellSet.cpp:80
Utilities.h
EnvCellSet::intCount
int intCount
Definition:
EnvCellSet.h:33
EnvCellSet::size
int size()
Definition:
EnvCellSet.cpp:133
EnvCellSet::histogram
BioclimHistogram * histogram
Definition:
EnvCellSet.h:40
EnvCellSet::resample
EnvCellSet * resample()
Definition:
EnvCellSet.cpp:100
EnvCellSet::resampled
bool resampled
Definition:
EnvCellSet.h:37
EnvCellSet
Definition:
EnvCellSet.h:30
EnvCellSet::intSize
int intSize
Definition:
EnvCellSet.h:34
EnvCellSet::createBioclimHistogram
void createBioclimHistogram()
Definition:
EnvCellSet.cpp:167
src
algorithms
dg_garp
EnvCellSet.h
Generated on Thu Jan 8 2015 17:05:09 for openModeller by
1.8.6