All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
osl::checkmate::DualDfpn::OraclePool Struct Reference
Collaboration diagram for osl::checkmate::DualDfpn::OraclePool:
Collaboration graph
[legend]

List of all members.

Classes

struct  Element
struct  List

Public Types

typedef hash_map< HashKey, Listtable_t

Public Member Functions

void setAttack (Player attack)
void addProof (const NumEffectState &state, const HashKey &key, PieceStand proof_pieces)
const List probe (const NumEffectState &state) const
const HashKey makeKey (const SimpleState &state) const
const std::pair< HashKey, HashKey > makeLargeKey (const SimpleState &state) const

Static Public Member Functions

template<Direction DIR>
static void addKey (HashKey &key, const SimpleState &state, Square target)
template<Direction DIR, Direction DIR2>
static void addKey (HashKey &key, const SimpleState &state, Square target)

Public Attributes

table_t table
Player defender

Detailed Description

Definition at line 32 of file dualDfpn.cc.


Member Typedef Documentation

Definition at line 60 of file dualDfpn.cc.


Member Function Documentation

template<Direction DIR>
static void osl::checkmate::DualDfpn::OraclePool::addKey ( HashKey &  key,
const SimpleState &  state,
Square  target 
) [inline, static]
template<Direction DIR, Direction DIR2>
static void osl::checkmate::DualDfpn::OraclePool::addKey ( HashKey &  key,
const SimpleState &  state,
Square  target 
) [inline, static]
void osl::checkmate::DualDfpn::OraclePool::addProof ( const NumEffectState &  state,
const HashKey &  key,
PieceStand  proof_pieces 
) [inline]

Definition at line 67 of file dualDfpn.cc.

References makeLargeKey(), table, and osl::WHITE.

const HashKey osl::checkmate::DualDfpn::OraclePool::makeKey ( const SimpleState &  state) const [inline]
const std::pair<HashKey,HashKey> osl::checkmate::DualDfpn::OraclePool::makeLargeKey ( const SimpleState &  state) const [inline]
const List osl::checkmate::DualDfpn::OraclePool::probe ( const NumEffectState &  state) const [inline]

Definition at line 78 of file dualDfpn.cc.

References makeLargeKey(), and table.

Definition at line 63 of file dualDfpn.cc.

References osl::alt(), and defender.


Member Data Documentation

Definition at line 62 of file dualDfpn.cc.

Referenced by makeKey(), makeLargeKey(), and setAttack().

Definition at line 61 of file dualDfpn.cc.

Referenced by addProof(), and probe().


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