openModeller
Version 1.5.0
|
#include <Utilities.h>
Public Member Functions | |
GarpUtil () | |
Static Public Member Functions | |
static void | randomize (unsigned long iOrigSeedProvided=0) |
static bool | between (double x, double y, double z) |
static int | notBetween (double x, double y, double z) |
static bool | equalEps (double x, double y, double eps) |
static double | random () |
static int | randint (int low, int high) |
static int | isInArray (long array[], int n, int value) |
static int | membership (BYTE rval1, BYTE rval2, BYTE value) |
Definition at line 137 of file Utilities.h.
|
inline |
Definition at line 141 of file Utilities.h.
|
inlinestatic |
Definition at line 168 of file Utilities.h.
|
inlinestatic |
Definition at line 200 of file Utilities.h.
Referenced by RuleSet::discardRules().
|
inlinestatic |
Definition at line 228 of file Utilities.h.
Definition at line 246 of file Utilities.h.
Referenced by RangeRule::getStrength(), AtomicRule::getStrength(), and LogitRule::getStrength().
|
inlinestatic |
Definition at line 187 of file Utilities.h.
Referenced by RangeRule::applyToCell(), and NegatedRangeRule::applyToCell().
|
inlinestatic |
Definition at line 216 of file Utilities.h.
References random().
Referenced by GarpAlgorithm::crossover(), Rule::initialize(), RangeRule::initialize(), AtomicRule::initialize(), LogitRule::initialize(), GarpAlgorithm::join(), Rule::mutate(), LogitRule::mutate(), EnvCellSet::resample(), EnvCellSet::resampleInPlace(), GarpAlgorithm::select(), and Rule::testWithData().
|
inlinestatic |
Definition at line 206 of file Utilities.h.
References MASK, PRIME, SCALE, and Seed.
Referenced by RangeRule::initialize(), randint(), and GarpAlgorithm::select().
|
inlinestatic |
Definition at line 144 of file Utilities.h.
References OrigSeed, and Seed.
Referenced by GarpAlgorithm::GarpAlgorithm().