HOG2
Classes | Namespaces | Typedefs | Enumerations | Functions
CanonicalGrid.h File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
#include "Map.h"
#include "SearchEnvironment.h"
#include "UnitSimulation.h"
#include <cassert>
#include "Graphics.h"
Include dependency graph for CanonicalGrid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CanonicalGrid::xyLoc
 
class  CanonicalGrid::CanonicalGrid
 

Namespaces

 CanonicalGrid
 

Typedefs

typedef UnitSimulation< xyLoc, tDirection, CanonicalGrid > CanonicalGrid::UnitMapSimulation
 

Enumerations

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

Functions

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