osl::search::SortCaptureMoves 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
Static Public Member Functions | List of all members
osl::search::SortCaptureMoves Struct Reference

安い駒の順にsort する. More...

`#include <sortCaptureMoves.h>`

## Static Public Member Functions
static void | sortByTakeBack (const NumEffectState &state, container::MoveVector &moves)
| 取り返しを考慮する． More...
static void | sortByMovingPiece (container::MoveVector &moves)
| 取る駒は考えない． More...
static void | sortBySpecifiedPiece (container::MoveVector &moves, Square from)
| 取る駒は考えない．from が一致する指手優先 More...

## Detailed Description

安い駒の順にsort する.

Definition at line 19 of file sortCaptureMoves.h.

## Member Function Documentation

void osl::search::SortCaptureMoves::sortByMovingPiece | ( | container::MoveVector & | moves) |  |
| static

取る駒は考えない．

Definition at line 9 of file sortCaptureMoves.cc.

void osl::search::SortCaptureMoves::sortBySpecifiedPiece | ( | container::MoveVector & | moves,
|  | Square | from
| ) |  |
| static

取る駒は考えない．from が一致する指手優先

Definition at line 40 of file sortCaptureMoves.cc.

void osl::search::SortCaptureMoves::sortByTakeBack | ( | const NumEffectState & | state,
|  | container::MoveVector & | moves
| ) |  |
| static

取り返しを考慮する．

Definition at line 46 of file sortCaptureMoves.cc.

Referenced by main().

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

- sortCaptureMoves.h
- sortCaptureMoves.cc