openModeller  Version 1.5.0
EnvCellSet Class Reference

#include <EnvCellSet.h>

Collaboration diagram for EnvCellSet:
Collaboration graph

Public Member Functions

 EnvCellSet ()
 
 EnvCellSet (int size)
 
virtual ~EnvCellSet ()
 
void initialize (int size)
 
void createBioclimHistogram ()
 
BioclimHistogramgetBioclimHistogram ()
 
EnvCellSetresample ()
 
void resampleInPlace ()
 
int size ()
 
int count ()
 
int genes ()
 
void add (EnvCell *cell)
 
EnvCellget (int index)
 

Private Attributes

int intCount
 
int intSize
 
EnvCell ** objCells
 
bool resampled
 
BioclimHistogramhistogram
 

Detailed Description

Definition at line 30 of file EnvCellSet.h.

Constructor & Destructor Documentation

EnvCellSet::EnvCellSet ( )

Definition at line 25 of file EnvCellSet.cpp.

References histogram, intCount, intSize, objCells, and resampled.

Referenced by resample().

EnvCellSet::EnvCellSet ( int  size)

Definition at line 37 of file EnvCellSet.cpp.

References histogram, initialize(), intCount, intSize, objCells, and resampled.

Here is the call graph for this function:

EnvCellSet::~EnvCellSet ( )
virtual

Definition at line 51 of file EnvCellSet.cpp.

References histogram, intCount, objCells, resampled, and EnvCell::values.

Member Function Documentation

void EnvCellSet::add ( EnvCell cell)

Definition at line 154 of file EnvCellSet.cpp.

References intCount, intSize, and objCells.

Referenced by GarpAlgorithm::initialize(), and resample().

int EnvCellSet::count ( )
void EnvCellSet::createBioclimHistogram ( )

Definition at line 167 of file EnvCellSet.cpp.

References genes(), histogram, intCount, BioclimHistogram::matrix, objCells, BioclimHistogram::reset(), and EnvCell::values.

Referenced by GarpAlgorithm::initialize().

Here is the call graph for this function:

int EnvCellSet::genes ( )

Definition at line 124 of file EnvCellSet.cpp.

References intCount, objCells, and EnvCell::size().

Referenced by createBioclimHistogram().

Here is the call graph for this function:

EnvCell * EnvCellSet::get ( int  index)
BioclimHistogram * EnvCellSet::getBioclimHistogram ( )

Definition at line 163 of file EnvCellSet.cpp.

References histogram.

Referenced by RangeRule::bioclimRange().

void EnvCellSet::initialize ( int  size)

Definition at line 116 of file EnvCellSet.cpp.

References intCount, intSize, objCells, and size().

Referenced by EnvCellSet(), and GarpAlgorithm::initialize().

Here is the call graph for this function:

EnvCellSet * EnvCellSet::resample ( )

Definition at line 100 of file EnvCellSet.cpp.

References add(), EnvCellSet(), intSize, objCells, GarpUtil::randint(), and resampled.

Here is the call graph for this function:

void EnvCellSet::resampleInPlace ( )

Definition at line 80 of file EnvCellSet.cpp.

References intSize, objCells, and GarpUtil::randint().

Referenced by GarpAlgorithm::generate().

Here is the call graph for this function:

int EnvCellSet::size ( )

Definition at line 133 of file EnvCellSet.cpp.

References intSize.

Referenced by initialize(), AtomicRule::initialize(), and Rule::testWithData().

Member Data Documentation

BioclimHistogram* EnvCellSet::histogram
private

Definition at line 40 of file EnvCellSet.h.

Referenced by createBioclimHistogram(), EnvCellSet(), getBioclimHistogram(), and ~EnvCellSet().

int EnvCellSet::intCount
private
int EnvCellSet::intSize
private

Definition at line 34 of file EnvCellSet.h.

Referenced by add(), EnvCellSet(), initialize(), resample(), resampleInPlace(), and size().

EnvCell** EnvCellSet::objCells
private
bool EnvCellSet::resampled
private

Definition at line 37 of file EnvCellSet.h.

Referenced by EnvCellSet(), resample(), and ~EnvCellSet().


The documentation for this class was generated from the following files: