My Project
osl::checkmate::Dfpn::Node Struct Reference
Inheritance diagram for osl::checkmate::Dfpn::Node:
osl::checkmate::Dfpn::NodeBase

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, DfpnMaxUniqMoveschildren
FixedCapacityVector< const DfpnPathRecord *, DfpnMaxUniqMoveschildren_path
CArray< HashKey, DfpnMaxUniqMoveshashes
FixedCapacityVector< int8_t, DfpnMaxUniqMovesproof_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 349 of file dfpn.cc.

Member Function Documentation

◆ allocate()

void osl::checkmate::Dfpn::Node::allocate ( int n)
inline

◆ clear()

◆ isLoop()

◆ newPath()

const PathEncoding osl::checkmate::Dfpn::Node::newPath ( int c) const
inline

Definition at line 385 of file dfpn.cc.

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

Referenced by isLoop().

◆ nextWhiteStand()

◆ setCheckmateAttack()

◆ setCheckmateChildInDefense()

void osl::checkmate::Dfpn::Node::setCheckmateChildInDefense ( size_t i)
inline

◆ setCheckmateDefense()

◆ setLoopDetection()

◆ setNoCheckmateAttack()

void osl::checkmate::Dfpn::Node::setNoCheckmateAttack ( Player attack,
const NumEffectState & state )
inline

◆ setNoCheckmateChildInAttack()

void osl::checkmate::Dfpn::Node::setNoCheckmateChildInAttack ( size_t i)
inline

Definition at line 456 of file dfpn.cc.

References children, and osl::checkmate::Dfpn::NodeBase::record.

◆ setNoCheckmateDefense()

Member Data Documentation

◆ children

◆ children_path

◆ hashes

◆ moves

◆ proof_cost

FixedCapacityVector<int8_t,DfpnMaxUniqMoves> osl::checkmate::Dfpn::Node::proof_cost

Definition at line 355 of file dfpn.cc.

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

◆ visit_time

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

Definition at line 356 of file dfpn.cc.

Referenced by osl::checkmate::Dfpn::attack(), and osl::checkmate::Dfpn::defense().


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