All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
osl::checkmate::Dfpn::Node Struct Reference
Inheritance diagram for osl::checkmate::Dfpn::Node:
Inheritance graph
[legend]
Collaboration diagram for osl::checkmate::Dfpn::Node:
Collaboration graph
[legend]

Public Member Functions

const PieceStand nextWhiteStand (Player P, Move move) const
 
void clear ()
 
void allocate (int n)
 
void setLoopDetection ()
 
const PathEncoding newPath (int c) const
 
bool isLoop (int c) const
 
void setCheckmateAttack (Player attack, int best_i)
 
void setNoCheckmateDefense (Player attack, int best_i)
 
void setCheckmateDefense (Player attack, const NumEffectState &state)
 
void setNoCheckmateAttack (Player attack, const NumEffectState &state)
 
void setCheckmateChildInDefense (size_t i)
 
void setNoCheckmateChildInAttack (size_t i)
 

Public Attributes

DfpnMoveVector moves
 
FixedCapacityVector
< DfpnRecord, DfpnMaxUniqMoves
children
 
FixedCapacityVector< const
DfpnPathRecord
*, DfpnMaxUniqMoves
children_path
 
CArray< HashKey, DfpnMaxUniqMoveshashes
 
FixedCapacityVector< int8_t,
DfpnMaxUniqMoves
proof_cost
 
size_t visit_time
 
- Public Attributes inherited from osl::checkmate::Dfpn::NodeBase
HashKey hash_key
 
PathEncoding path
 
ProofDisproof threshold
 
Move moved
 
PieceStand white_stand
 
DfpnRecord record
 
DfpnPathRecordpath_record
 

Detailed Description

Definition at line 366 of file dfpn.cc.

Member Function Documentation

void osl::checkmate::Dfpn::Node::allocate ( int  n)
inline
void osl::checkmate::Dfpn::Node::clear ( )
inline
bool osl::checkmate::Dfpn::Node::isLoop ( int  c) const
inline
const PathEncoding osl::checkmate::Dfpn::Node::newPath ( int  c) const
inline

Definition at line 402 of file dfpn.cc.

References moves, osl::checkmate::Dfpn::NodeBase::path, and osl::PathEncoding::pushMove().

Referenced by isLoop().

const PieceStand osl::checkmate::Dfpn::Node::nextWhiteStand ( Player  P,
Move  move 
) const
inline
void osl::checkmate::Dfpn::Node::setCheckmateAttack ( Player  attack,
int  best_i 
)
inline
void osl::checkmate::Dfpn::Node::setCheckmateChildInDefense ( size_t  i)
inline
void osl::checkmate::Dfpn::Node::setCheckmateDefense ( Player  attack,
const NumEffectState &  state 
)
inline
void osl::checkmate::Dfpn::Node::setLoopDetection ( )
inline
void osl::checkmate::Dfpn::Node::setNoCheckmateAttack ( Player  attack,
const NumEffectState &  state 
)
inline
void osl::checkmate::Dfpn::Node::setNoCheckmateChildInAttack ( size_t  i)
inline
void osl::checkmate::Dfpn::Node::setNoCheckmateDefense ( Player  attack,
int  best_i 
)
inline

Member Data Documentation

FixedCapacityVector<DfpnRecord,DfpnMaxUniqMoves> osl::checkmate::Dfpn::Node::children
FixedCapacityVector<const DfpnPathRecord*,DfpnMaxUniqMoves> osl::checkmate::Dfpn::Node::children_path
CArray<HashKey,DfpnMaxUniqMoves> osl::checkmate::Dfpn::Node::hashes
DfpnMoveVector osl::checkmate::Dfpn::Node::moves
FixedCapacityVector<int8_t,DfpnMaxUniqMoves> osl::checkmate::Dfpn::Node::proof_cost

Definition at line 372 of file dfpn.cc.

Referenced by allocate(), clear(), and osl::checkmate::Dfpn::Tree::dump().

size_t osl::checkmate::Dfpn::Node::visit_time

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