openModeller
Version 1.4.0
|
#include <garp_best_subsets.hh>
Public Member Functions | |
GarpBestSubsets () | |
virtual | ~GarpBestSubsets () |
Private Member Functions | |
AlgorithmImpl * | getBSAlgorithm () |
int | transferParametersToAlgorithm () |
Private Attributes | |
int | _max_gen |
int | _popsize |
int | _resamples |
double | _conv_limit |
Declaration of GARP with Best Subsets Procedure
LICENSE INFORMATION
Copyright(c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:
http://www.gnu.org/copyleft/gpl.html Implements GARP with Best Subset Procedure (Anderson et al. 2003).
It runs "n" Garp models, filter the best ones based on the procedure defined by Anderson et al. 2003 and sum them to obtain a probability map for the species distribution.
Current implementation uses multi-threading to run multiple Garp runs in parallel. Takes advantage of multi-processor servers and workstations.
Definition at line 53 of file garp_best_subsets.hh.
Definition at line 332 of file garp_best_subsets.cpp.
References AlgorithmImpl::_normalizerPtr.
GarpBestSubsets::~GarpBestSubsets | ( | ) | [virtual] |
Definition at line 339 of file garp_best_subsets.cpp.
AlgorithmImpl * GarpBestSubsets::getBSAlgorithm | ( | ) | [private, virtual] |
Implements BestSubsets.
Definition at line 344 of file garp_best_subsets.cpp.
int GarpBestSubsets::transferParametersToAlgorithm | ( | ) | [private, virtual] |
Implements BestSubsets.
Definition at line 352 of file garp_best_subsets.cpp.
References BestSubsets::_alg_params, _conv_limit, _max_gen, BestSubsets::_nparam, _popsize, _resamples, Log::error(), AlgorithmImpl::getParameter(), Log::instance(), AlgParameter::setId(), and AlgParameter::setValue().
double GarpBestSubsets::_conv_limit [private] |
Minimum value for convergence that triggers termination of execution
Definition at line 78 of file garp_best_subsets.hh.
Referenced by transferParametersToAlgorithm().
int GarpBestSubsets::_max_gen [private] |
Maximum number of iterations to be executed (if convergence is not reached)
Definition at line 69 of file garp_best_subsets.hh.
Referenced by transferParametersToAlgorithm().
int GarpBestSubsets::_popsize [private] |
Number of points to be considered after resampling (with replacement)
Definition at line 72 of file garp_best_subsets.hh.
Referenced by transferParametersToAlgorithm().
int GarpBestSubsets::_resamples [private] |
Number of points to be considered after resampling (with replacement)
Definition at line 75 of file garp_best_subsets.hh.
Referenced by transferParametersToAlgorithm().