osl::search::DominanceCheck Struct Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | List of all members
osl::search::DominanceCheck Struct Reference

`#include <dominanceCheck.h>`

## Public Types
enum | Result { NORMAL =0, WIN, LOSE }

## Static Public Member Functions
static Result | detect (const HashKeyStack &history, const HashKey &next_state)
| 駒損するループの検出. More...

## Detailed Description

Definition at line 11 of file dominanceCheck.h.

## Member Enumeration Documentation

enum osl::search::DominanceCheck::Result

Enumerator
NORMAL |
WIN |
LOSE |

Definition at line 13 of file dominanceCheck.h.

## Member Function Documentation

static Result osl::search::DominanceCheck::detect | ( | const HashKeyStack & | history,
|  | const HashKey & | next_state
| ) |  |
| inlinestatic

駒損するループの検出.

Returns
  true なら直前の指手は指してはいけない

Parameters

  history | 今までの局面
  next_state | 次の局面

Definition at line 20 of file dominanceCheck.h.

References osl::alt(), osl::PieceStand::hasMoreThan(), LOSE, NORMAL, and WIN.

Referenced by osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearch().

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

- dominanceCheck.h