struct Step {
Step(Board board, std::shared_ptr<Step> prev);
+ ~Step();
Board board;
std::shared_ptr<Step> prev;
int cost(const InvertedBoard& invgoal) const;
static signed char adjacent[BOARD_SIZE][5];
+ static int count;
};
std::ostream& operator<<(std::ostream& os, const Step& step);