HOG2
Public Member Functions | Public Attributes | List of all members
MNAgentPuzzleState Class Reference

#include <MNAgentPuzzle.h>

Public Member Functions

 MNAgentPuzzleState ()
 
 MNAgentPuzzleState (unsigned int _width, unsigned int _height)
 
void BlockCell (int x, int y)
 
void AddAgent (int x, int y)
 

Public Attributes

int width
 
int height
 
unsigned int numAgents
 
int currentAgent
 
std::vector< uint64_t > locations
 

Detailed Description

Definition at line 30 of file MNAgentPuzzle.h.

Constructor & Destructor Documentation

◆ MNAgentPuzzleState() [1/2]

MNAgentPuzzleState::MNAgentPuzzleState ( )
inline

Definition at line 32 of file MNAgentPuzzle.h.

References height, and width.

◆ MNAgentPuzzleState() [2/2]

MNAgentPuzzleState::MNAgentPuzzleState ( unsigned int  _width,
unsigned int  _height 
)
inline

Definition at line 33 of file MNAgentPuzzle.h.

References currentAgent, and numAgents.

Member Function Documentation

◆ AddAgent()

void MNAgentPuzzleState::AddAgent ( int  x,
int  y 
)
inline

Definition at line 45 of file MNAgentPuzzle.h.

References locations, numAgents, and width.

◆ BlockCell()

void MNAgentPuzzleState::BlockCell ( int  x,
int  y 
)
inline

Definition at line 40 of file MNAgentPuzzle.h.

References filled, locations, and width.

Member Data Documentation

◆ currentAgent

int MNAgentPuzzleState::currentAgent

◆ height

int MNAgentPuzzleState::height

Definition at line 50 of file MNAgentPuzzle.h.

Referenced by MNAgentPuzzleState(), and MNAgentEnvironment::OpenGLDraw().

◆ locations

std::vector<uint64_t> MNAgentPuzzleState::locations

◆ numAgents

unsigned int MNAgentPuzzleState::numAgents

◆ width

int MNAgentPuzzleState::width

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