HOG2
Public Member Functions | Public Attributes | List of all members
MNPuzzleState< width, height > Class Template Reference

#include <MNPuzzle.h>

Public Member Functions

 MNPuzzleState ()
 
void Reset ()
 
size_t size () const
 
void FinishUnranking ()
 
bool operator< (const MNPuzzleState &b)
 

Public Attributes

unsigned int blank
 
std::array< int, width *heightpuzzle
 

Detailed Description

template<int width, int height>
class MNPuzzleState< width, height >

Definition at line 25 of file MNPuzzle.h.

Constructor & Destructor Documentation

◆ MNPuzzleState()

template<int width, int height>
MNPuzzleState< width, height >::MNPuzzleState ( )
inline

Definition at line 27 of file MNPuzzle.h.

References MNPuzzleState< width, height >::Reset().

Member Function Documentation

◆ FinishUnranking()

template<int width, int height>
void MNPuzzleState< width, height >::FinishUnranking ( )
inline

◆ operator<()

template<int width, int height>
bool MNPuzzleState< width, height >::operator< ( const MNPuzzleState< width, height > &  b)
inline

◆ Reset()

template<int width, int height>
void MNPuzzleState< width, height >::Reset ( )
inline

◆ size()

template<int width, int height>
size_t MNPuzzleState< width, height >::size ( ) const
inline

Member Data Documentation

◆ blank

template<int width, int height>
unsigned int MNPuzzleState< width, height >::blank

◆ puzzle

template<int width, int height>
std::array<int, width*height> MNPuzzleState< width, height >::puzzle

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