All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
osl::eval::ml::MajorGoldSilverAttacked< Opening > Class Template Reference

#include <majorPiece.h>

Inheritance diagram for osl::eval::ml::MajorGoldSilverAttacked< Opening >:
Inheritance graph
[legend]
Collaboration diagram for osl::eval::ml::MajorGoldSilverAttacked< Opening >:
Collaboration graph
[legend]

Public Types

enum  { DIM = 32 }
 

Public Member Functions

template<osl::Ptype PTYPE>
int evalOne (const NumEffectState &state)
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static int eval (const NumEffectState &state)
 
static int index (const NumEffectState &state, Piece piece)
 
template<Ptype PTYPE>
static int evalOne (const NumEffectState &state)
 

Static Private Attributes

static CArray< int, 32 > table
 

Detailed Description

template<bool Opening>
class osl::eval::ml::MajorGoldSilverAttacked< Opening >

Definition at line 137 of file majorPiece.h.

Member Enumeration Documentation

template<bool Opening>
anonymous enum
Enumerator
DIM 

Definition at line 140 of file majorPiece.h.

Member Function Documentation

template<bool Opening>
int osl::eval::ml::MajorGoldSilverAttacked< Opening >::eval ( const NumEffectState &  state)
static

Definition at line 181 of file majorPiece.cc.

References result.

template<bool Opening>
template<Ptype PTYPE>
static int osl::eval::ml::MajorGoldSilverAttacked< Opening >::evalOne ( const NumEffectState &  state)
static
template<bool Opening>
template<osl::Ptype PTYPE>
int osl::eval::ml::MajorGoldSilverAttacked< Opening >::evalOne ( const NumEffectState &  state)
template<bool Opening>
int osl::eval::ml::MajorGoldSilverAttacked< Opening >::index ( const NumEffectState &  state,
Piece  piece 
)
static

Definition at line 149 of file majorPiece.cc.

References osl::Piece::owner(), osl::Piece::ptype(), and osl::PTYPE_SIZE.

template<bool Opening>
void osl::eval::ml::MajorGoldSilverAttacked< Opening >::setUp ( const Weights weights)
static

Member Data Documentation

template<bool Opening>
osl::misc::CArray< int, 32 > osl::eval::ml::MajorGoldSilverAttacked< Opening >::table
staticprivate

Definition at line 147 of file majorPiece.h.


The documentation for this class was generated from the following files: