#include <minorPiece.h>
|  | 
| static void | setUp (const Weights &weights) | 
|  | 
| static void | eval (const NumEffectState &state, MultiIntPair &out) | 
|  | 
| template<Player P> | 
| static void | evalWithUpdateBang (const NumEffectState &state, Move moved, const CArray< PieceMask, 2 > &effected_mask, MultiIntPair &last_value_and_out) | 
|  | 
| template<int Sign> | 
| static void | adjust (int black_turn_king_attack, int black_turn_king_defense, int white_turn_king_attack, int white_turn_king_defense, MultiIntPair &result) | 
|  | 
|  | 
| static int | index (bool same_turn, bool has_support, Ptype ptype) | 
|  | 
| template<bool Attack> | 
| static int | indexK (Square king, bool same_turn, bool has_support, Square position, Player owner, Ptype ptype) | 
|  | 
| template<bool Attack> | 
| static int | indexK (Square king, bool same_turn, bool has_support, Piece piece) | 
|  | 
| template<Player Attacked> | 
| static void | updateEffectChanged (const NumEffectState &state, const CArray< PieceMask, 2 > &effected_mask, const CArray< PieceMask, 2 > &new_mask, int moved_piece_number, MultiIntPair &result) | 
|  | 
Definition at line 912 of file minorPiece.h.
 
template<int Sign> 
  
  | 
        
          | static void osl::eval::ml::NonPawnAttacked::adjust | ( | int | black_turn_king_attack, |  
          |  |  | int | black_turn_king_defense, |  
          |  |  | int | white_turn_king_attack, |  
          |  |  | int | white_turn_king_defense, |  
          |  |  | MultiIntPair & | result |  
          |  | ) |  |  |  | static | 
 
 
template<int Sign> 
      
        
          | void osl::eval::ml::NonPawnAttacked::adjust | ( | int | black_turn_king_attack, | 
        
          |  |  | int | black_turn_king_defense, | 
        
          |  |  | int | white_turn_king_attack, | 
        
          |  |  | int | white_turn_king_defense, | 
        
          |  |  | MultiIntPair & | result | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | void osl::eval::ml::NonPawnAttacked::eval | ( | const NumEffectState & | state, |  
          |  |  | MultiIntPair & | out |  
          |  | ) |  |  |  | static | 
 
 
template<Player P> 
  
  | 
        
          | template void osl::eval::ml::NonPawnAttacked::evalWithUpdateBang< WHITE > | ( | const NumEffectState & | state, |  
          |  |  | Move | moved, |  
          |  |  | const CArray< PieceMask, 2 > & | effected_mask, |  
          |  |  | MultiIntPair & | last_value_and_out |  
          |  | ) |  |  |  | static | 
 
 
template<osl::Player P> 
      
        
          | void osl::eval::ml::NonPawnAttacked::evalWithUpdateBang | ( | const NumEffectState & | state, | 
        
          |  |  | Move | moved, | 
        
          |  |  | const CArray< PieceMask, 2 > & | effected, | 
        
          |  |  | MultiIntPair & | result | 
        
          |  | ) |  |  | 
      
 
Definition at line 1240 of file minorPiece.cc.
References adjust(), osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::Move::isDrop(), osl::KING, osl::Piece::number(), osl::Move::oldPtype(), osl::Piece::owner(), osl::PAWN, osl::Move::ptype(), osl::PTYPE_EMPTY, result, osl::Move::to(), and osl::WHITE.
 
 
  
  | 
        
          | static int osl::eval::ml::NonPawnAttacked::index | ( | bool | same_turn, |  
          |  |  | bool | has_support, |  
          |  |  | Ptype | ptype |  
          |  | ) |  |  |  | inlinestaticprivate | 
 
 
template<bool Attack> 
  
  | 
        
          | static int osl::eval::ml::NonPawnAttacked::indexK | ( | Square | king, |  
          |  |  | bool | same_turn, |  
          |  |  | bool | has_support, |  
          |  |  | Square | position, |  
          |  |  | Player | owner, |  
          |  |  | Ptype | ptype |  
          |  | ) |  |  |  | inlinestaticprivate | 
 
 
template<bool Attack> 
  
  | 
        
          | static int osl::eval::ml::NonPawnAttacked::indexK | ( | Square | king, |  
          |  |  | bool | same_turn, |  
          |  |  | bool | has_support, |  
          |  |  | Piece | piece |  
          |  | ) |  |  |  | inlinestaticprivate | 
 
 
  
  | 
        
          | void osl::eval::ml::NonPawnAttacked::setUp | ( | const Weights & | weights) |  |  |  | static | 
 
 
template<Player Attacked> 
  
  | 
        
          | static void osl::eval::ml::NonPawnAttacked::updateEffectChanged | ( | const NumEffectState & | state, |  
          |  |  | const CArray< PieceMask, 2 > & | effected_mask, |  
          |  |  | const CArray< PieceMask, 2 > & | new_mask, |  
          |  |  | int | moved_piece_number, |  
          |  |  | MultiIntPair & | result |  
          |  | ) |  |  |  | inlinestaticprivate | 
 
 
The documentation for this class was generated from the following files: