SgStrategy is a strategy for winning a specified goal. More...
#include "SgArray.h"
#include "SgBlackWhite.h"
#include "SgBWArray.h"
#include "SgHash.h"
#include "SgPointSet.h"
Go to the source code of this file.
Classes | |
class | SgStrategy |
Strategy for achieving a certain goal. More... | |
Enumerations | |
enum | SgStrategyStatus { SGSTRATEGY_ACHIEVED, SGSTRATEGY_THREATENED, SGSTRATEGY_UNKNOWN, SGSTRATEGY_FAILED, _SGSTRATEGY_COUNT } |
Functions | |
std::ostream & | operator<< (std::ostream &stream, SgStrategyStatus s) |
std::ostream & | operator<< (std::ostream &stream, const SgStrategy &s) |
SgStrategy is a strategy for winning a specified goal.
An example of a strategy: keep a territory safe that was proven safe earlier on. The strategy contains answers to any opponent threat. Strategies can be generated, tracked, and enforced during search.
Definition in file SgStrategy.h.
enum SgStrategyStatus |
SGSTRATEGY_ACHIEVED | |
SGSTRATEGY_THREATENED | |
SGSTRATEGY_UNKNOWN | |
SGSTRATEGY_FAILED | |
_SGSTRATEGY_COUNT |
Definition at line 21 of file SgStrategy.h.
std::ostream& operator<< | ( | std::ostream & | stream, | |
SgStrategyStatus | s | |||
) |
Definition at line 14 of file SgStrategy.cpp.
std::ostream& operator<< | ( | std::ostream & | stream, | |
const SgStrategy & | s | |||
) |
Definition at line 34 of file SgStrategy.cpp.
References SgStrategy::Write().