All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
osl::PathEncoding Class Reference

#include <pathEncoding.h>

List of all members.

Public Member Functions

 PathEncoding (int d=0)
 PathEncoding (Player turn, int d=0)
 PathEncoding (const PathEncoding &org, Move m)
Player turn () const
void pushMove (Move m)
void popMove (Move m)
unsigned long long getPath () const
int getDepth () const

Private Attributes

unsigned long long path
int depth

Detailed Description

Definition at line 41 of file pathEncoding.h.


Constructor & Destructor Documentation

osl::PathEncoding::PathEncoding ( int  d = 0) [inline, explicit]

Definition at line 46 of file pathEncoding.h.

osl::PathEncoding::PathEncoding ( Player  turn,
int  d = 0 
) [inline, explicit]

Definition at line 49 of file pathEncoding.h.

osl::PathEncoding::PathEncoding ( const PathEncoding org,
Move  m 
) [inline]

Definition at line 53 of file pathEncoding.h.

References pushMove().


Member Function Documentation

int osl::PathEncoding::getDepth ( ) const [inline]
unsigned long long osl::PathEncoding::getPath ( ) const [inline]
void osl::PathEncoding::popMove ( Move  m) [inline]
void osl::PathEncoding::pushMove ( Move  m) [inline]
Player osl::PathEncoding::turn ( ) const [inline]

Definition at line 58 of file pathEncoding.h.

References osl::BLACK, path, and osl::WHITE.

Referenced by osl::search::SearchState2Core::isWinningState(), popMove(), and pushMove().


Member Data Documentation

int osl::PathEncoding::depth [private]

Definition at line 44 of file pathEncoding.h.

Referenced by getDepth(), popMove(), and pushMove().

unsigned long long osl::PathEncoding::path [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines