#include <GoUctDefaultPriorKnowledge.h>
Inheritance diagram for GoUctKnowledge:
Definition at line 14 of file GoUctDefaultPriorKnowledge.h.
Public Member Functions | |
GoUctKnowledge (const GoBoard &bd) | |
virtual | ~GoUctKnowledge () |
virtual void | ProcessPosition (std::vector< SgMoveInfo > &moves)=0 |
Protected Member Functions | |
void | Add (SgPoint p, float value, std::size_t count) |
void | Initialize (SgPoint p, float value, std::size_t count) |
void | ClearValues () |
void | TransferValues (std::vector< SgMoveInfo > &outmoves) const |
Protected Attributes | |
const GoBoard & | m_bd |
SgArray< SgStatisticsBase< float, std::size_t >, SG_PASS+1 > | m_values |
GoUctKnowledge::GoUctKnowledge | ( | const GoBoard & | bd | ) |
Definition at line 41 of file GoUctDefaultPriorKnowledge.cpp.
GoUctKnowledge::~GoUctKnowledge | ( | ) | [virtual] |
Definition at line 46 of file GoUctDefaultPriorKnowledge.cpp.
void GoUctKnowledge::Add | ( | SgPoint | p, | |
float | value, | |||
std::size_t | count | |||
) | [protected] |
Referenced by GoUctDefaultPriorKnowledge::AddLocalityBonus().
void GoUctKnowledge::ClearValues | ( | ) | [protected] |
void GoUctKnowledge::Initialize | ( | SgPoint | p, | |
float | value, | |||
std::size_t | count | |||
) | [protected] |
Referenced by GoUctDefaultPriorKnowledge::ProcessPosition().
virtual void GoUctKnowledge::ProcessPosition | ( | std::vector< SgMoveInfo > & | moves | ) | [pure virtual] |
Implemented in GoUctDefaultPriorKnowledge.
void GoUctKnowledge::TransferValues | ( | std::vector< SgMoveInfo > & | outmoves | ) | const [protected] |
Definition at line 66 of file GoUctDefaultPriorKnowledge.cpp.
References SgUctSearch::InverseEval(), and m_values.
Referenced by GoUctDefaultPriorKnowledge::ProcessPosition().
const GoBoard& GoUctKnowledge::m_bd [protected] |
Definition at line 24 of file GoUctDefaultPriorKnowledge.h.
Referenced by GoUctDefaultPriorKnowledge::AddLocalityBonus(), GoUctDefaultPriorKnowledge::FindGlobalPatternAndAtariMoves(), and GoUctDefaultPriorKnowledge::ProcessPosition().
SgArray<SgStatisticsBase<float,std::size_t>,SG_PASS+1> GoUctKnowledge::m_values [protected] |
Definition at line 26 of file GoUctDefaultPriorKnowledge.h.
Referenced by ClearValues(), GoUctDefaultPriorKnowledge::ProcessPosition(), and TransferValues().