osl::progress Namespace Reference

## Namespaces

namespace | ml

## Classes

class | ProgressN
struct | Effect5x3
| 玉の周囲5x3の領域の利きの数と持駒から計算した進行度. More...
struct | Effect5x3WithBonus
struct | Effect5x3d
| 玉の周囲5x3の領域の利きの数ら計算した自玉のまわりの利きの数。 5x3領域は盤面内になるように補正する． 黒と白の両方の進行度を持つ． Effect5x3 との違い持駒の重みなし More...
struct | LongEffect
| 5x3領域への長い利きの始まりと終わり． offset - 利きの方向が0の時は利きが無いことを示す minIndex - 利きが領域に入るindex maxIndex - 利きが領域から出る手前のindex More...
class | Effect5x3Table
| Effect5x3の差分計算で使うテーブル. More...
struct | PtypeProgressTraits
| ゲームの進行度を測る駒の種類別の係数 More...
struct | PtypeProgressTraits< PAWN >
struct | PtypeProgressTraits< PPAWN >
struct | PtypeProgressTraits< LANCE >
struct | PtypeProgressTraits< PLANCE >
struct | PtypeProgressTraits< KNIGHT >
struct | PtypeProgressTraits< PKNIGHT >
struct | PtypeProgressTraits< SILVER >
struct | PtypeProgressTraits< PSILVER >
struct | PtypeProgressTraits< GOLD >
struct | PtypeProgressTraits< BISHOP >
struct | PtypeProgressTraits< PBISHOP >
struct | PtypeProgressTraits< ROOK >
struct | PtypeProgressTraits< PROOK >
struct | PtypeProgressTraits< KING >
class | PtypeProgressTable
| ゲームの進行度を駒が自陣からどの程度前に進んでいるかの和で表現 More...
class | PtypeProgress
class | NewProgress

## Typedefs

typedef ProgressN< 16 > | Progress16
typedef ProgressN< 32 > | Progress32
typedef CArray< LongEffect, 4 > | LongEffect4
| 長い利きの方向は高々4なので，長さ4のCArrayで表現．

## Functions

template<int N>
bool | operator== (ProgressN< N > l, ProgressN< N > r)
template<int N>
bool | operator!= (ProgressN< N > l, ProgressN< N > r)
template<int N>
bool | operator< (ProgressN< N > l, ProgressN< N > r)
std::ostream & | operator<< (std::ostream &os, LongEffect const &longEffect)
std::ostream & | operator<< (std::ostream &os, PtypeProgress prog)

## Variables

Effect5x3Table | Effect5x3_Table
PtypeProgressTable | Ptype_Progress_Table

## Typedef Documentation

## LongEffect4

typedef CArray<LongEffect,4> osl::progress::LongEffect4

長い利きの方向は高々4なので，長さ4のCArrayで表現．

Definition at line 30 of file effect5x3Table.h.

## Progress16

typedef ProgressN<16> osl::progress::Progress16

Definition at line 42 of file progress.h.

## Progress32

typedef ProgressN<32> osl::progress::Progress32

Definition at line 43 of file progress.h.

## Function Documentation

## operator!=()

template<int N>

bool osl::progress::operator!= | ( | ProgressN< N > | l,
|  | ProgressN< N > | r )

inline

Definition at line 33 of file progress.h.

## operator<()

template<int N>

bool osl::progress::operator< | ( | ProgressN< N > | l,
|  | ProgressN< N > | r )

inline

Definition at line 38 of file progress.h.

References osl::progress::ProgressN< N >::value().

## operator<<() [1/2]

std::ostream & osl::progress::operator<< | ( | std::ostream & | os,
|  | LongEffect const & | longEffect )

Definition at line 106 of file effect5x3Table.cc.

References osl::progress::LongEffect::maxIndex, osl::progress::LongEffect::minIndex, and osl::progress::LongEffect::offset.

## operator<<() [2/2]

std::ostream & osl::progress::operator<< | ( | std::ostream & | os,
|  | PtypeProgress | prog )

Definition at line 150 of file ptypeProgress.cc.

References osl::progress::PtypeProgress::progress().

## operator==()

template<int N>

bool osl::progress::operator== | ( | ProgressN< N > | l,
|  | ProgressN< N > | r )

inline

Definition at line 28 of file progress.h.

References osl::progress::ProgressN< N >::value().

## Variable Documentation

## Effect5x3_Table

osl::progress::Effect5x3Table osl::progress::Effect5x3_Table

extern

Definition at line 13 of file effect5x3Table.cc.

Referenced by osl::progress::Effect5x3d::makeProgress(), osl::progress::Effect5x3::makeProgressArea(), osl::progress::Effect5x3WithBonus::makeProgressAreaBonus(), and osl::progress::Effect5x3::updateStand().

## Ptype_Progress_Table

osl::progress::PtypeProgressTable osl::progress::Ptype_Progress_Table

extern

Definition at line 6 of file ptypeProgress.cc.

Referenced by osl::progress::PtypeProgress::PtypeProgress(), and osl::progress::PtypeProgress::update().