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.
#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) |
enum SgStrategyStatus |
SGSTRATEGY_ACHIEVED | |
SGSTRATEGY_THREATENED | |
SGSTRATEGY_UNKNOWN | |
SGSTRATEGY_FAILED | |
_SGSTRATEGY_COUNT |
Definition at line 22 of file SgStrategy.h.
std::ostream& operator<< | ( | std::ostream & | stream, | |
const SgStrategy & | s | |||
) |
std::ostream& operator<< | ( | std::ostream & | stream, | |
SgStrategyStatus | s | |||
) |