Public Member Functions | Public Attributes
osl::checkmate::Dfpn::Tree Struct Reference
Collaboration diagram for osl::checkmate::Dfpn::Tree:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Tree ()
bool inCheck (Player P) const
const Piece king (Player P) const
void newVisit (Player P, Move move, const HashKey &next_hash)
void setNoCheckmateChildInAttack (size_t best_i)
void setNoCheckmateDefense (Player attack, int best_i)
void dump (int lines, int depth=0) const

Public Attributes

NumEffectState state
int depth
Node node [MaxDepth]

Detailed Description

Definition at line 407 of file dfpn.cc.


Constructor & Destructor Documentation

osl::checkmate::Dfpn::Tree::Tree ( ) [inline]

Definition at line 415 of file dfpn.cc.


Member Function Documentation

bool osl::SimpleState::dump ( int  lines,
int  depth = 0 
) const [inline]
bool osl::checkmate::Dfpn::Tree::inCheck ( Player  P) const [inline]

Definition at line 418 of file dfpn.cc.

const Piece osl::checkmate::Dfpn::Tree::king ( Player  P) const [inline]

Definition at line 422 of file dfpn.cc.

void osl::checkmate::Dfpn::Tree::newVisit ( Player  P,
Move  move,
const HashKey &  next_hash 
) [inline]

Definition at line 423 of file dfpn.cc.

References depth, osl::checkmate::Dfpn::NodeBase::moved, and osl::Move::player().

void osl::checkmate::Dfpn::Tree::setNoCheckmateChildInAttack ( size_t  best_i) [inline]

Definition at line 435 of file dfpn.cc.

References depth, and osl::checkmate::Dfpn::Node::setNoCheckmateChildInAttack().

void osl::checkmate::Dfpn::Tree::setNoCheckmateDefense ( Player  attack,
int  best_i 
) [inline]

Definition at line 440 of file dfpn.cc.

References depth, and osl::checkmate::Dfpn::Node::setNoCheckmateDefense().


Member Data Documentation

Definition at line 413 of file dfpn.cc.

Definition at line 414 of file dfpn.cc.

Definition at line 412 of file dfpn.cc.

Referenced by dump().


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