Public Member Functions | Public Attributes | List of all members
osl::rating::RatingEnv Class Reference

#include <ratingEnv.h>

Public Member Functions

void update (const NumEffectState &new_state, Move last_move)
 
void make (const NumEffectState &new_state)
 
void make (const NumEffectState &new_state, const PieceMask &my_pin, const PieceMask &op_pin, Progress16)
 

Public Attributes

MoveStack history
 
Square8 sendoffs
 
PieceMask my_pin
 
PieceMask op_pin
 
int attack_count_for_turn
 
Progress16 progress
 
CArray< signed char, Square::SIZEcounteffect2_cache
 
CArray< int, Square::SIZEpattern_cache
 

Detailed Description

Definition at line 15 of file ratingEnv.h.

Member Function Documentation

§ make() [1/2]

void osl::rating::RatingEnv::make ( const NumEffectState new_state)

§ make() [2/2]

void osl::rating::RatingEnv::make ( const NumEffectState new_state,
const PieceMask my_pin,
const PieceMask op_pin,
Progress16  progress 
)

§ update()

void osl::rating::RatingEnv::update ( const NumEffectState new_state,
Move  last_move 
)

Definition at line 9 of file ratingEnv.cc.

References make().

Member Data Documentation

§ attack_count_for_turn

int osl::rating::RatingEnv::attack_count_for_turn

Definition at line 21 of file ratingEnv.h.

Referenced by osl::rating::DefenseKing8Group::findMatch().

§ counteffect2_cache

CArray<signed char,Square::SIZE> osl::rating::RatingEnv::counteffect2_cache
mutable

Definition at line 23 of file ratingEnv.h.

Referenced by osl::rating::CountEffect2::index().

§ history

MoveStack osl::rating::RatingEnv::history

§ my_pin

PieceMask osl::rating::RatingEnv::my_pin

§ op_pin

PieceMask osl::rating::RatingEnv::op_pin

§ pattern_cache

CArray<int,Square::SIZE> osl::rating::RatingEnv::pattern_cache
mutable

Definition at line 24 of file ratingEnv.h.

Referenced by osl::rating::PatternGroup::findMatch().

§ progress

Progress16 osl::rating::RatingEnv::progress

§ sendoffs

Square8 osl::rating::RatingEnv::sendoffs

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