My Project
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]

◆ update()

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

Definition at line 8 of file ratingEnv.cc.

References history, and make().

Referenced by osl::rating::BradleyTerry::accumulate().

Member Data Documentation

◆ attack_count_for_turn

◆ counteffect2_cache

Definition at line 23 of file ratingEnv.h.

Referenced by osl::rating::CountEffect2::index(), and make().

◆ history

◆ my_pin

◆ op_pin

◆ pattern_cache

◆ progress

◆ sendoffs


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