My Project
Namespaces | Classes | Typedefs | Functions | Variables
osl::progress Namespace Reference

Namespaces

namespace  ml
 

Classes

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

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

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

Definition at line 30 of file effect5x3Table.h.

◆ Progress16

Definition at line 42 of file progress.h.

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

◆ 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

◆ Ptype_Progress_Table

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