HOG2
Classes | Typedefs | Enumerations | Functions
CanonicalGrid Namespace Reference

Classes

class  CanonicalGrid
 
struct  xyLoc
 

Typedefs

typedef UnitSimulation< xyLoc, tDirection, CanonicalGridUnitMapSimulation
 

Enumerations

enum  tDirection {
  kN =0x8, kS =0x4, kE =0x2, kW =0x1,
  kNW =kN|kW, kNE =kN|kE, kSE =kS|kE, kSW =kS|kW,
  kStay =0, kAll =kSW|kNE
}
 

Functions

static std::ostream & operator<< (std::ostream &out, const xyLoc &loc)
 
static bool operator== (const xyLoc &l1, const xyLoc &l2)
 
static bool operator!= (const xyLoc &l1, const xyLoc &l2)
 

Typedef Documentation

◆ UnitMapSimulation

Definition at line 127 of file CanonicalGrid.h.

Enumeration Type Documentation

◆ tDirection

Enumerator
kN 
kS 
kE 
kW 
kNW 
kNE 
kSE 
kSW 
kStay 
kAll 

Definition at line 25 of file CanonicalGrid.h.

Function Documentation

◆ operator!=()

static bool CanonicalGrid::operator!= ( const xyLoc l1,
const xyLoc l2 
)
static

Definition at line 49 of file CanonicalGrid.h.

References CanonicalGrid::xyLoc::x, and CanonicalGrid::xyLoc::y.

◆ operator<<()

static std::ostream& CanonicalGrid::operator<< ( std::ostream &  out,
const xyLoc loc 
)
static

Definition at line 39 of file CanonicalGrid.h.

References loc::x, and loc::y.

◆ operator==()

static bool CanonicalGrid::operator== ( const xyLoc l1,
const xyLoc l2 
)
static

Definition at line 45 of file CanonicalGrid.h.

References CanonicalGrid::xyLoc::x, and CanonicalGrid::xyLoc::y.