sortCaptureMoves.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sortCaptureMoves.h
Go to the documentation of this file.
1 /* sortCaptureMoves.h
2 */
3 #ifndef SEARCH_SORTCAPTUREMOVES_H
4 #define SEARCH_SORTCAPTUREMOVES_H
5
6 #include "osl/state/numEffectState.h"
7
8 namespace osl
9 {
10 namespace container
11 {
12 class MoveVector;
13 }
14 namespace search
15 {
19 struct SortCaptureMoves
20 {
22 static void sortByTakeBack(const NumEffectState& state,
23 container::MoveVector& moves);
25 static void sortByMovingPiece(container::MoveVector& moves);
27 static void sortBySpecifiedPiece(container::MoveVector& moves,
28 Square from);
29 };
30 }
31 }
32
33 #endif /* SEARCH_SORTCAPTUREMOVES_H */
34 // ;;; Local Variables:
35 // ;;; mode:c++
36 // ;;; c-basic-offset:2
37 // ;;; End: