00001 /* sortCaptureMoves.h 00002 */ 00003 #ifndef SEARCH_SORTCAPTUREMOVES_H 00004 #define SEARCH_SORTCAPTUREMOVES_H 00005 00006 #include "osl/state/numEffectState.h" 00007 00008 namespace osl 00009 { 00010 namespace container 00011 { 00012 class MoveVector; 00013 } 00014 namespace search 00015 { 00019 struct SortCaptureMoves 00020 { 00022 static void sortByTakeBack(const NumEffectState& state, 00023 container::MoveVector& moves); 00025 static void sortByMovingPiece(container::MoveVector& moves); 00027 static void sortBySpecifiedPiece(container::MoveVector& moves, 00028 Position from); 00029 }; 00030 } 00031 } 00032 00033 #endif /* SEARCH_SORTCAPTUREMOVES_H */ 00034 // ;;; Local Variables: 00035 // ;;; mode:c++ 00036 // ;;; c-basic-offset:2 00037 // ;;; End: