Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgStrategy.h File Reference


Detailed Description

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.

#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)


Enumeration Type Documentation

enum SgStrategyStatus

Enumerator:
SGSTRATEGY_ACHIEVED 
SGSTRATEGY_THREATENED 
SGSTRATEGY_UNKNOWN 
SGSTRATEGY_FAILED 
_SGSTRATEGY_COUNT 

Definition at line 22 of file SgStrategy.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const SgStrategy s 
)

Definition at line 35 of file SgStrategy.cpp.

References SgStrategy::Write().

std::ostream& operator<< ( std::ostream &  stream,
SgStrategyStatus  s 
)

Definition at line 15 of file SgStrategy.cpp.

References _SGSTRATEGY_COUNT.


17 Jun 2010 Doxygen 1.4.7