ETrobocon2017 - 片山研究所モデルベース開発推進事業部
str
apps
include
BoardAnalyzer.h
[詳解]
1
#ifndef _INC_BOARD_ANALYZER
2
#define _INC_BOARD_ANALYZER
3
4
class
BoardAnalyzer
5
{
6
public
:
7
BoardAnalyzer
();
8
~BoardAnalyzer
();
9
void
set
(
int
* initPositions);
10
int
getInLeftSquareCount
();
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
BoardAnalyzer::getExchangePattern
bool getExchangePattern()
BoardAnalyzer
Definition:
BoardAnalyzer.h:4
BoardAnalyzer::BoardAnalyzer
BoardAnalyzer()
Definition:
BoardAnalyzer.cpp:3
BoardAnalyzer::~BoardAnalyzer
~BoardAnalyzer()
Definition:
BoardAnalyzer.cpp:8
BoardAnalyzer::getInLeftSquareCount
int getInLeftSquareCount()
Definition:
BoardAnalyzer.cpp:20
構築:
1.8.13