openModeller  Version 1.5.0
GarpUtil Class Reference

#include <Utilities.h>

Collaboration diagram for GarpUtil:
Collaboration graph

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)
 

Detailed Description

Definition at line 137 of file Utilities.h.

Constructor & Destructor Documentation

GarpUtil::GarpUtil ( )
inline

Definition at line 141 of file Utilities.h.

Member Function Documentation

static bool GarpUtil::between ( double  x,
double  y,
double  z 
)
inlinestatic

Definition at line 168 of file Utilities.h.

static bool GarpUtil::equalEps ( double  x,
double  y,
double  eps 
)
inlinestatic

Definition at line 200 of file Utilities.h.

Referenced by RuleSet::discardRules().

static int GarpUtil::isInArray ( long  array[],
int  n,
int  value 
)
inlinestatic

Definition at line 228 of file Utilities.h.

static int GarpUtil::membership ( BYTE  rval1,
BYTE  rval2,
BYTE  value 
)
inlinestatic
static int GarpUtil::notBetween ( double  x,
double  y,
double  z 
)
inlinestatic

Definition at line 187 of file Utilities.h.

Referenced by RangeRule::applyToCell(), and NegatedRangeRule::applyToCell().

static int GarpUtil::randint ( int  low,
int  high 
)
inlinestatic
static double GarpUtil::random ( )
inlinestatic

Definition at line 206 of file Utilities.h.

References MASK, PRIME, SCALE, and Seed.

Referenced by RangeRule::initialize(), randint(), and GarpAlgorithm::select().

static void GarpUtil::randomize ( unsigned long  iOrigSeedProvided = 0)
inlinestatic

Definition at line 144 of file Utilities.h.

References OrigSeed, and Seed.

Referenced by GarpAlgorithm::GarpAlgorithm().


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