ETrobocon2017 - 片山研究所モデルベース開発推進事業部
BoardAnalyzer.h
[詳解]
1 #ifndef _INC_BOARD_ANALYZER
2 #define _INC_BOARD_ANALYZER
3 
4 class BoardAnalyzer
5 {
6 public:
9  void set(int* initPositions);
11  bool getExchangePattern();
12 
13 private:
14  int *positions;
15  const int leftSquare[5] = {0, 1, 5, 2, 10};
16 
17 };
18 
19 #endif //_INC_BOARD_ANALYZER
bool getExchangePattern()
int getInLeftSquareCount()