Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgUctEarlyAbortParam Struct Reference

#include <SgUctSearch.h>

List of all members.


Detailed Description

Optional parameters to SgUctSearch::Search() to allow early aborts.

If early abort is used, the search will be aborted after a fraction of the resources (max time, max nodes) are spent, if the value is a clear win (above a threshold).

Definition at line 482 of file SgUctSearch.h.

Public Attributes

float m_threshold
 The threshold to define what a clear win is.
std::size_t m_minGames
 The minimum number of games to allow an early abort.
int m_reductionFactor
 The inverse fraction of the total resources (max time, max nodes), after which the early abort check is performed.


Member Data Documentation

std::size_t SgUctEarlyAbortParam::m_minGames

The minimum number of games to allow an early abort.

For a very low number of simulations, the value can be very unreliable.

Definition at line 491 of file SgUctSearch.h.

int SgUctEarlyAbortParam::m_reductionFactor

The inverse fraction of the total resources (max time, max nodes), after which the early abort check is performed.

Definition at line 496 of file SgUctSearch.h.

float SgUctEarlyAbortParam::m_threshold

The threshold to define what a clear win is.

Definition at line 485 of file SgUctSearch.h.


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


17 Jun 2010 Doxygen 1.4.7