HOG2
|
#include <stdint.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include "Map.h"
#include "SearchEnvironment.h"
#include "UnitSimulation.h"
#include "ReservationProvider.h"
#include "BitVector.h"
#include "GraphEnvironment.h"
#include "Graphics.h"
#include <cassert>
Go to the source code of this file.
Classes | |
struct | xyLoc |
struct | xyLocHash |
class | BaseMapOccupancyInterface |
struct | std::hash< xyLoc > |
class | EuclideanDistance |
class | MapEnvironment |
Namespaces | |
std | |
Typedefs | |
typedef UnitSimulation< xyLoc, tDirection, MapEnvironment > | UnitMapSimulation |
Enumerations | |
enum | drawOptions { kNoOptions = 0x0, kEfficientCells = 0x1, kTerrainBorderLines = 0x2, kCellBorderLines = 0x4 } |
enum | tDirection { kN =0x8, kS =0x4, kE =0x2, kW =0x1, kNW =kN|kW, kNE =kN|kE, kSE =kS|kE, kSW =kS|kW, kStay =0, kTeleport =kSW|kNE, 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) |
Variables | |
const int | numPrimitiveActions = 8 |
const int | numActions = 10 |
const tDirection | possibleDir [numActions] = { kN, kNE, kE, kSE, kS, kSW, kW, kNW, kStay, kTeleport } |
const int | kStayIndex = 8 |
typedef UnitSimulation<xyLoc, tDirection, MapEnvironment> UnitMapSimulation |
Definition at line 244 of file Map2DEnvironment.h.
enum drawOptions |
Enumerator | |
---|---|
kNoOptions | |
kEfficientCells | |
kTerrainBorderLines | |
kCellBorderLines |
Definition at line 30 of file Map2DEnvironment.h.
enum tDirection |
Enumerator | |
---|---|
kN | |
kS | |
kE | |
kW | |
kNW | |
kNE | |
kSE | |
kSW | |
kStay | |
kTeleport | |
kAll |
Definition at line 77 of file Map2DEnvironment.h.
Definition at line 72 of file Map2DEnvironment.h.
|
static |
Definition at line 62 of file Map2DEnvironment.h.
Definition at line 68 of file Map2DEnvironment.h.
const int kStayIndex = 8 |
Definition at line 105 of file Map2DEnvironment.h.
Referenced by BilliardBallUnit::BilliardBallUnit(), and BilliardBallUnit::UpdateLocation().
const int numActions = 10 |
Definition at line 103 of file Map2DEnvironment.h.
const int numPrimitiveActions = 8 |
Definition at line 102 of file Map2DEnvironment.h.
Definition at line 104 of file Map2DEnvironment.h.
Referenced by RHRUnit::MakeMove(), RandomUnit< state, action, environment >::MakeMove(), RandomerUnit::MakeMove(), and BilliardBallUnit::MakeMove().