Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********************************************************
- * Strategy.h : 策略接口文件 *
- * 张永锋 *
- * 2014.5 *
- *********************************************************/
- #ifndef STRATEGY_H_
- #define STRATEGY_H_
- #include "Point.h"
- #define VALUEC (1.0)
- #define CHESS(myTurn) ((myTurn) ? 1 : 2)
- extern "C" Point *getPoint(const int M, const int N, const int *top, const int *_board,
- const int lastX, const int lastY, const int noX, const int noY);
- extern "C" void clearPoint(Point *p);
- void clearArray(int M, int N, int **board);
- /*
- 添加你自己的辅助函数
- */
- void build(const int *const *board, const int *top);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement