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

SgUtil.h File Reference

Small utility functions. More...

#include <iostream>
#include "SgBlackWhite.h"
#include "SgBWArray.h"

Go to the source code of this file.

Classes

class  SgBalancer
 Utility class to assure balance between black and white plays. More...

Namespaces

namespace  SgUtil

Functions

template<class T >
void SgUtil::ForceInRange (const T &min, T *p, const T &max)
template<class T >
bool SgUtil::InRange (const T &i, const T &from, const T &to)
template<class T >
void SgUtil::LowerLimit (T &x, const T &limit)
template<class T >
void SgUtil::UpperLimit (T &x, const T &limit)
std::ostream & operator<< (std::ostream &stream, const SgBalancer &balancer)

Detailed Description

Small utility functions.

Definition in file SgUtil.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const SgBalancer balancer 
)


Sun Mar 13 2011 Doxygen 1.7.1