openModeller
Version 1.5.0
|
#include <openmodeller/Random.hh>
#include <math.h>
#include <string.h>
#include <openmodeller/Log.hh>
#include <openmodeller/Sample.hh>
#include <openmodeller/Occurrence.hh>
#include <openmodeller/Exceptions.hh>
#include "rules_base.hh"
Go to the source code of this file.
Macros | |
#define | MIN_SIG_NO 10 |
Functions | |
int | min (int v1, int v2) |
bool | equalEps (double v1, double v2) |
bool | between (double value, double min, double max) |
int | membership (double value1, double value2, double value) |
#define MIN_SIG_NO 10 |
Declaration of GarpRule used by GARP
LICENSE INFORMATION
Copyright(c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA. Copyright(c), David R.B. Stockwell of Symbiotik Pty. Ltd. Copyright(c), CRIA - Centro de Referencia em Informacao Ambiental
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
This is an implementation of the GARP algorithm first developed by David Stockwell
Definition at line 47 of file rules_base.cpp.
Referenced by GarpRule::evaluate().
bool between | ( | double | value, |
double | min, | ||
double | max | ||
) |
Definition at line 67 of file rules_base.cpp.
Referenced by NegatedRangeRule::applies(), and RangeRule::applies().
bool equalEps | ( | double | v1, |
double | v2 | ||
) |
Definition at line 62 of file rules_base.cpp.
Referenced by NegatedRangeRule::applies(), RangeRule::applies(), LogitRule::getStrength(), membership(), and GarpRule::similar().
int membership | ( | double | value1, |
double | value2, | ||
double | value | ||
) |
Definition at line 73 of file rules_base.cpp.
References equalEps().
Referenced by RangeRule::getStrength().
int min | ( | int | v1, |
int | v2 | ||
) |
Definition at line 56 of file rules_base.cpp.
Referenced by GdalRaster::calcMinMax(), NicheMosaic::computeMeanDeviation(), EnvironmentImpl::getLayerConfig(), MinimumDistance::getValue(), main(), EnvironmentImpl::makeLayer(), Sample::operator&=(), Sample::operator*=(), Sample::operator+=(), Sample::operator-=(), Sample::operator/=(), Sample::operator|=(), Sample::resize(), Sample::setCategoricalThreshold(), and Raster::setMinMax().