My Project
|
#include <piecePair.h>
Public Member Functions | |
IndexTable () | |
void | fillBW (int index, int dir, Ptype p0, Ptype p1) |
void | fillSame (int index, int dir, Ptype p0, Ptype p1) |
for same owner | |
void | fillDiffer (int index, int dir, Ptype p0, Ptype p1) |
for different owner | |
void | amplify (int base) |
![]() | |
T & | operator[] (size_t i) |
T const & | operator[] (size_t i) const |
T & | operator[] (Player p) |
const T & | operator[] (Player p) const |
T & | operator[] (PtypeO ptypeo) |
const T & | operator[] (PtypeO ptypeo) const |
iterator | begin () |
iterator | end () |
void | fill (const T_simple &value=T_simple()) |
template<class T2 , class = typename std::enable_if<!std::is_convertible<T2,T_simple>::value>::type> | |
void | fill (const T2 &value=T2()) |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
bool | operator== (const CArray &other) const |
T & | front () |
T & | back () |
const T & | front () const |
const T & | back () const |
Static Public Member Functions | |
static int | pindex (Player player, Ptype ptype) |
![]() | |
static size_t | size () |
Additional Inherited Members | |
![]() | |
typedef std::remove_cv< T >::type | T_simple |
typedef T | value_type |
typedef std::array< T, Capacity >::iterator | iterator |
typedef std::array< T, Capacity >::const_iterator | const_iterator |
![]() | |
std::array< T, Capacity > | array |
Definition at line 79 of file piecePair.h.
osl::eval::ml::PiecePair::IndexTable::IndexTable | ( | ) |
Definition at line 298 of file piecePair.cc.
void osl::eval::ml::PiecePair::IndexTable::amplify | ( | int | base | ) |
Definition at line 304 of file piecePair.cc.
References osl::PTYPEO_SIZE.
Definition at line 322 of file piecePair.cc.
References osl::BLACK, osl::eval::ml::ppair::inv(), osl::eval::ml::ppair::pindex(), and osl::WHITE.
for different owner
Definition at line 337 of file piecePair.cc.
References osl::BLACK, osl::eval::ml::ppair::inv(), osl::eval::ml::ppair::pindex(), and osl::WHITE.
Referenced by osl::eval::ml::ppair::makeTable().
for same owner
Definition at line 331 of file piecePair.cc.
References osl::eval::ml::ppair::inv().
Referenced by osl::eval::ml::ppair::makeTable().
Definition at line 87 of file piecePair.h.
References osl::newPtypeO(), and osl::ptypeOIndex().
Referenced by osl::eval::ml::ppair::pindex().