Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Classes | Enumerations | Functions

SgStrategy.h File Reference

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)

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.


Enumeration Type Documentation

Enumerator:
SGSTRATEGY_ACHIEVED 
SGSTRATEGY_THREATENED 
SGSTRATEGY_UNKNOWN 
SGSTRATEGY_FAILED 
_SGSTRATEGY_COUNT 

Definition at line 21 of file SgStrategy.h.


Function Documentation

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().


Sun Mar 13 2011 Doxygen 1.7.1