openModeller
Version 1.4.0
|
Go to the source code of this file.
Classes | |
class | GarpRule |
Enumerations | |
enum | PerfIndex { PerfUtil = 0, PerfPrStr = 1, PerfPrProb = 2, PerfPrDist = 3, PerfPostStr = 4, PerfPostProb = 5, PerfPostDist = 6, PerfCov = 7, PerfSig = 8, PerfErr = 9 } |
enum | RuleOrigin { OriginColonization = 0, OriginMutation = 1, OriginJoin = 2, OriginCrossover = 3 } |
enum | RuleType { VirtualRuleType = -1, RangeRuleType = 0, NegatedRuleType = 1, LogitRuleType = 2, AtomicRuleType = 3 } |
Functions | |
bool | equalEps (double v1, double v2) |
bool | between (double value, double min, double max) |
int | membership (double value1, double value2, double value) |
Declaration of GarpRule classe used in 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 in file rules_base.hh.
enum PerfIndex |
Definition at line 42 of file rules_base.hh.
enum RuleOrigin |
Definition at line 89 of file rules_base.hh.
enum RuleType |
Definition at line 99 of file rules_base.hh.
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().