ネームスペース osl

attackDefense.h [詳細]

ネームスペース

namespace  annotate
namespace  apply_move
 

stateに対して,指手を指したり(doMove),指して何かしたあと戻したり(doUndo) するための仕掛け.


namespace  checkmate
 

詰将棋関係


namespace  container
 

一般的に存在するデータ構造の将棋版,PieceVectorや各種bitsetなど.


namespace  effect
 

利きを局面に持たせるためのコード.


namespace  effect_action
 

forEachEffect, forSortedEffect等で渡す対象


namespace  effect_util
 

利きを利用した計算をするコード


namespace  enter_king
namespace  eval
 

評価関数


namespace  game_playing
 

対局に必要な諸々.


namespace  hash
 

ハッシュ


namespace  misc
 

特に将棋と関係ない基礎的なコード


namespace  mobility
namespace  move_action
 

生成された指手を処理する


namespace  move_classifier
 

Moveを分類するクラス群.


namespace  move_generator
 

低レベルの指手生成


namespace  move_order
 

Move の並べ変え.


namespace  ntesuki
 

ntesuki


namespace  progress
 

進行度


namespace  ptl
 

Ptype の template による list.


namespace  rating
namespace  record
 

棋譜関係


namespace  search
 

探索関係


namespace  stat
 

統計関係


namespace  state
 

局面.


namespace  stl
 

stl コンテナのallocatorを取り替えたものを提供する.


namespace  threatmate
 

詰めろ予測関数 指した後の局面(state)と指し手(move) を引数に取る predict で予測結果を返す


構成

class  BoardTable
struct  Centering3x3
 3x3が盤上におさまるように中心を調整 [詳細]
struct  Centering5x3
 5x3が盤上におさまるように中心を調整 [詳細]
struct  DirectionTraitsGen< UL >
struct  DirectionTraitsGen< U >
struct  DirectionTraitsGen< UR >
struct  DirectionTraitsGen< L >
struct  DirectionTraitsGen< R >
struct  DirectionTraitsGen< DL >
struct  DirectionTraitsGen< D >
struct  DirectionTraitsGen< DR >
struct  DirectionTraitsGen< UUL >
struct  DirectionTraitsGen< UUR >
struct  DirectionTraitsGen< LONG_UL >
struct  DirectionTraitsGen< LONG_U >
struct  DirectionTraitsGen< LONG_UR >
struct  DirectionTraitsGen< LONG_L >
struct  DirectionTraitsGen< LONG_R >
struct  DirectionTraitsGen< LONG_DL >
struct  DirectionTraitsGen< LONG_D >
struct  DirectionTraitsGen< LONG_DR >
struct  DirectionTraits
struct  DirectionPlayerTraits< Dir, BLACK >
struct  DirectionPlayerTraits< Dir, WHITE >
class  PieceFilter
 exceptPiece以外の場合にactionを呼び出す [詳細]
class  EffectContent
class  Move
 圧縮していない moveの表現 . [詳細]
struct  GenerateAllMoves
struct  GenerateEscapeKing
class  MoveLogProb
struct  Neighboring8
class  Offset
 座標の差分 [詳細]
class  Offset32Base
 差が uniqになるような座標の差分. [詳細]
struct  OslConfig
 osl の実行環境に関する指定 [詳細]
struct  NoMoreMemory
class  PathEncodingTable
class  PathEncoding
class  Piece
 駒. [詳細]
class  PieceStand
 片方の手番の持駒の枚数を記録するクラス. [詳細]
struct  PieceStandIO
class  PieceTable
struct  PlayerTraits< BLACK >
struct  PlayerTraits< WHITE >
class  Position
struct  PositionCompressor
 Position を [0..81] に圧縮する 0: 駒台,1..81 盤上. [詳細]
class  PtypeTable
struct  PtypeTraits< PTYPE_EMPTY >
struct  PtypeTraits< PTYPE_EDGE >
struct  PtypeTraits< GOLD >
struct  PtypeTraits< PAWN >
struct  PtypeTraits< PPAWN >
struct  PtypeTraits< LANCE >
struct  PtypeTraits< PLANCE >
struct  PtypeTraits< KNIGHT >
struct  PtypeTraits< PKNIGHT >
struct  PtypeTraits< SILVER >
struct  PtypeTraits< PSILVER >
struct  PtypeTraits< BISHOP >
struct  PtypeTraits< PBISHOP >
struct  PtypeTraits< ROOK >
struct  PtypeTraits< PROOK >
struct  PtypeTraits< KING >
struct  PtypeFunsSub< T, true >
struct  PtypeFunsSub< T, false >
struct  PtypeFuns
struct  PtypeDirectionTraits
struct  KingTraits
struct  PtypePlayerTraits
class  RepetitionCounter
 千日手の検出. [詳細]
class  Sennichite
struct  LogProbCompare
struct  PieceBasicLessThan
struct  PiecePtypeMoreThan
struct  PtypeOPositionLessThan
class  normal_distribution
struct  TopProb
 カテゴリ内でトップの手が指された確率 [詳細]
struct  RatingDiffRange
 rating とその局面のratingの最大値との差に基づく 2次元の実現確率 [詳細]
struct  RatingDiff

型定義

typedef QuadInt MultiInt
typedef QuadIntPair MultiIntPair
typedef Offset32Base< 8, 9 > Offset32
typedef Offset32Base< 10, 10 > Offset32Wide
typedef search::AlphaBeta2
< eval::ProgressEval
AlphaBeta2ProgressEval
typedef search::AlphaBeta2
< eval::ml::OpenMidEndingEval
AlphaBeta2OpenMidEndingEval

列挙型

enum  Direction {
  SHORT_DIRECTION_MIN = 0, SHORT8_DIRECTION_MIN = 0, UL = 0, U = 1,
  UR = 2, L = 3, R = 4, DL = 5,
  D = 6, DR = 7, SHORT8_DIRECTION_MAX = 7, UUL = 8,
  UUR = 9, LONG_DIRECTION_MIN = 10, LONG_UL = 10, LONG_U = 11,
  LONG_UR = 12, LONG_L = 13, LONG_R = 14, LONG_DL = 15,
  LONG_D = 16, LONG_DR = 17, LONG_DIRECTION_MAX = 17, DIRECTION_MIN = 0,
  SHORT_DIRECTION_MAX = 9, SHORT_DIRECTION_SIZE = 10, DIRECTION_MAX = 17, DIRECTION_INVALID_VALUE = 18,
  DIRECTION_SIZE = 18
}
enum  Handicap { HIRATE }
enum  PromoteType { NoPromoteType = 0, CanPromoteType = 1, CheckPromoteType = 2, MustPromoteType = 3 }
enum  Player { BLACK = 0, WHITE = -1 }
enum  Ptype {
  PTYPE_EMPTY = 0, PTYPE_EDGE = 1, PPAWN = 2, PLANCE = 3,
  PKNIGHT = 4, PSILVER = 5, PBISHOP = 6, PROOK = 7,
  KING = 8, GOLD = 9, PAWN = 10, LANCE = 11,
  KNIGHT = 12, SILVER = 13, BISHOP = 14, ROOK = 15,
  PTYPE_MIN = 0, PTYPE_BASIC_MIN = KING, PTYPE_PIECE_MIN = 2, PTYPE_MAX = 15
}
 

駒の種類を4ビットでコード化する

[詳細]
enum  PtypeO { PTYPEO_MIN = PTYPE_EMPTY-16, PTYPEO_MAX = 15 }
 

Player + Ptype [-15, 15] PtypeO の O は Owner の O.

[詳細]
enum  MoveConstraint { CannotMove, OnlyPromoted, OnlyBasic, NoConstraint }
 

ある方向にある駒が移動可能かを表す.

[詳細]
enum  Property {
  All, TakeBack, TakeBack2, NoTakeBack,
  SeePlus, SeePlus2, SeePlusX, NoSeePlus
}

関数

bool isShort (Direction d)
bool isShort8 (Direction d)
bool isLong (Direction d)
Direction inverseUnsafe (Direction d)
Direction inverse (Direction d)
Direction primDir (Direction d)
 8方向について,primitiveな4方向を求める
Direction primDirUnsafe (Direction d)
 8方向について,primitiveな4方向を求める dとしてknight, INVALIDなども来る
bool isValid (Direction d)
Direction longToShort (Direction d)
Direction shortToLong (Direction d)
 引数に longDirを与えてはいけない
int dirToMask (Direction dir)
std::ostream & operator<< (std::ostream &os, const Direction d)
bool operator== (EffectContent l, EffectContent r)
bool operator!= (EffectContent l, EffectContent r)
bool operator< (EffectContent l, EffectContent r)
const char * ctime_r (const time_t *timep, char *buf)
bool operator< (Move lhs, Move rhs)
bool operator== (Move lhs, Move rhs)
bool operator!= (Move lhs, Move rhs)
std::ostream & operator<< (std::ostream &os, Move move)
std::ostream & operator<< (std::ostream &os, MoveLogProb const &moveLogProb)
bool operator== (MoveLogProb const &lhs, MoveLogProb const &rhs)
bool operator< (MoveLogProb const &lhs, MoveLogProb const &rhs)
Offset newOffset (int dx, int dy)
 
bool operator== (Offset l, Offset r)
bool operator!= (Offset l, Offset r)
bool operator< (Offset l, Offset r)
std::ostream & operator<< (std::ostream &, Offset)
bool operator== (const PathEncoding &l, const PathEncoding &r)
bool operator!= (const PathEncoding &l, const PathEncoding &r)
std::ostream & operator<< (std::ostream &, const PathEncoding &)
bool operator== (Piece l, Piece r)
bool operator< (Piece l, Piece r)
bool operator!= (Piece l, Piece r)
std::ostream & operator<< (std::ostream &os, const Piece piece)
bool operator== (PieceStand l, PieceStand r)
bool operator!= (PieceStand l, PieceStand r)
bool operator< (PieceStand l, PieceStand r)
std::ostream & operator<< (std::ostream &, PieceStand l)
Player alt (Player player)
void changeTurn (Player &player)
int playerToIndex (Player player)
Player indexToPlayer (int n)
int playerToMul (Player player)
int playerToMask (Player player)
int operator+ (Player, int)
int operator+ (int, Player)
int operator- (Player, int)
int operator- (int, Player)
int operator* (Player, int)
int operator* (int, Player)
int operator/ (Player, int)
int operator/ (int, Player)
bool isValid (Player player)
 cast等で作られたplayerが正しいかどうかを返す
std::ostream & operator<< (std::ostream &os, Player player)
bool operator== (Position l, Position r)
bool operator!= (Position l, Position r)
bool operator< (Position l, Position r)
bool operator> (Position l, Position r)
std::ostream & operator<< (std::ostream &, Position)
std::istream & operator>> (std::istream &is, Ptype &ptype)
std::ostream & operator<< (std::ostream &os, const Ptype ptype)
bool isValid (Ptype ptype)
 int等からcastして作ったptypeが,正しい範囲に入っているかどうかのチェック
bool isPiece (Ptype ptype)
 ptypeが空白やEDGEでないかのチェック
bool isBasic (Ptype ptype)
 ptypeが基本型(promoteしていない)かのチェック
bool isPromoted (Ptype ptype)
 ptypeがpromote後の型かどうかのチェック
bool canPromote (Ptype ptype)
 ptypeがpromote可能な型かどうかのチェック promote済みの場合はfalseを返す
Ptype unpromote (Ptype ptype)
 ptypeがpromote後の型の時に,promote前の型を返す. promoteしていない型の時はそのまま返す
Ptype promote (Ptype ptype)
 promote可能なptypeに対して,promote後の型を返す promote不可のptypeを与えてはいけない.
bool isMajorBasic (Ptype ptype)
bool isMajor (Ptype ptype)
bool isMajorNonPieceOK (Ptype ptype)
unsigned int ptypeOIndex (PtypeO ptypeo)
PtypeO newPtypeO (Player player, Ptype ptype)
Ptype getPtype (PtypeO ptypeO)
PtypeO promote (PtypeO ptypeO)
 pieceをpromoteさせる.
PtypeO promoteWithMask (PtypeO ptypeO, int promoteMask)
 pieceを引数次第でpromoteさせる
PtypeO unpromote (PtypeO ptypeO)
 pieceをunpromoteさせる.
bool isValidPtypeO (int ptypeO)
bool isPiece (PtypeO ptypeO)
 EMPTY, EDGEではない.
Player getOwner (PtypeO ptypeO)
PtypeO captured (PtypeO ptypeO)
 unpromoteすると共に,ownerを反転する.
PtypeO alt (PtypeO ptypeO)
 owner を反転する
PtypeO altIfPiece (PtypeO ptypeO)
 Pieceの時にはowner を反転する.
bool canPromote (PtypeO ptypeO)
bool isPromoted (PtypeO ptypeO)
 ptypeOが promote済みかどうか
std::ostream & operator<< (std::ostream &os, const PtypeO ptypeO)
std::ostream & csaShow (std::ostream &os, Move move)
std::ostream & csaShow (std::ostream &, Position)
std::ostream & csaShow (std::ostream &os, Piece piece)
std::ostream & csaShow (std::ostream &os, Ptype ptype)
bool importantMove (const NumEffectState &state, Move move, Position my_king, Position op_king)
bool operator== (const Sennichite &l, const Sennichite &r)
std::ostream & operator<< (std::ostream &, const Sennichite &)
template void EffectUtil::findThreat< osl::eval::ProgressEval > (const NumEffectState &state, Position position, PtypeO ptypeo, PieceVector &out)
template void EffectUtil::findThreat< osl::eval::ml::OpenMidEndingEval > (const NumEffectState &state, Position position, PtypeO ptypeo, PieceVector &out)
 BOOST_STATIC_ASSERT (sizeof(HashKey) >=sizeof(int)*5)
 BOOST_STATIC_ASSERT (sizeof(mask_t)==4)
 BOOST_STATIC_ASSERT (sizeof(Move)==4)
 BOOST_STATIC_ASSERT (sizeof(Piece)==4)
 BOOST_STATIC_ASSERT (sizeof(unsigned int)*8 >=32)
template<Player P, Ptype PTYPE>
static void makeCapture (const NumEffectState &state, MoveVector &out)
void showLogProb (const stat::Histogram &numerator, const stat::Histogram &denominator)
void showLogProb (const stat::Histogram &numerator, const stat::Histogram &denom1, const stat::Histogram &denom2)
void showLogProb (const Histogram8 &numerator, const Histogram8 &denom1, const Histogram8 &denom2)
size_t find (Property property, const NumEffectState &state, const RatingEnv &e, const RatedMoveVector &moves, Move selected)

変数

const BoardTable Board_Table
const int NStages = 4
const int EvalStages = 4
const int EndgameIndex = EvalStages-1
const PathEncodingTable Path_Encoding_Table
const int EMPTY_NUM = 0x80
const int EDGE_NUM = 0x40
const PieceTable Piece_Table
const int PTYPE_SIZE = PTYPE_MAX-PTYPE_MIN+1
const PtypeO PTYPEO_EMPTY = newPtypeO(BLACK,PTYPE_EMPTY)
const PtypeO PTYPEO_EDGE = newPtypeO(WHITE,PTYPE_EDGE)
const int PTYPEO_SIZE = PTYPEO_MAX-PTYPEO_MIN+1
const PtypeTable Ptype_Table

説明

attackDefense.h

defenseKing.cc

attackKing.cc

osl 一般

mtdfstat, alphabetastat 用の記録用 (text)

mtdfstat, alphabetastat 用の記録の親クラス

mtdfstat, alphabetastat 用の記録

defenseKing.h

attackKing.h

将棋盤や基本的なデータ型など.


型定義

alphaBeta2.h343 行で定義されています。

alphaBeta2.h342 行で定義されています。

typedef QuadInt osl::MultiInt

midgame.h15 行で定義されています。

typedef QuadIntPair osl::MultiIntPair

midgame.h16 行で定義されています。

offset32.h67 行で定義されています。

offset32.h68 行で定義されています。


列挙型

列挙型の値:
SHORT_DIRECTION_MIN 
SHORT8_DIRECTION_MIN 
UL 
U 
UR 
L 
R 
DL 
D 
DR 
SHORT8_DIRECTION_MAX 
UUL 
UUR 
LONG_DIRECTION_MIN 
LONG_UL 
LONG_U 
LONG_UR 
LONG_L 
LONG_R 
LONG_DL 
LONG_D 
LONG_DR 
LONG_DIRECTION_MAX 
DIRECTION_MIN 
SHORT_DIRECTION_MAX 
SHORT_DIRECTION_SIZE 
DIRECTION_MAX 
DIRECTION_INVALID_VALUE 
DIRECTION_SIZE 

direction.h8 行で定義されています。

列挙型の値:
HIRATE 

handicap.h4 行で定義されています。

ある方向にある駒が移動可能かを表す.

(basicTypeだけは確定しているが,promote済みかどうかはわからない場合)

列挙型の値:
CannotMove 

可能でない

OnlyPromoted 

promote済みの駒の場合にのみ可能

OnlyBasic 

promoteしていない駒の場合にのみ可能

NoConstraint 

promoteしていようが,いまいが可能

ptypeTraits.h334 行で定義されています。

列挙型の値:
BLACK 
WHITE 

player.h7 行で定義されています。

列挙型の値:
NoPromoteType 
CanPromoteType 
CheckPromoteType 
MustPromoteType 

promoteType.h7 行で定義されています。

列挙型の値:
All 
TakeBack 

一手目の取り返し

TakeBack2 

2手目の取り返し

NoTakeBack 

取り返しでない先頭

SeePlus 

取り返し以外の駒得の先頭

SeePlus2 
SeePlusX 

3手目の駒得または駒得以外の先頭

NoSeePlus 

取り返しでも駒得でもない先頭

ratingstat.cc203 行で定義されています。

enum osl::Ptype

駒の種類を4ビットでコード化する

列挙型の値:
PTYPE_EMPTY 
PTYPE_EDGE 
PPAWN 
PLANCE 
PKNIGHT 
PSILVER 
PBISHOP 
PROOK 
KING 
GOLD 
PAWN 
LANCE 
KNIGHT 
SILVER 
BISHOP 
ROOK 
PTYPE_MIN 
PTYPE_BASIC_MIN 
PTYPE_PIECE_MIN 
PTYPE_MAX 

ptype.h13 行で定義されています。

Player + Ptype [-15, 15] PtypeO の O は Owner の O.

列挙型の値:
PTYPEO_MIN 
PTYPEO_MAX 

ptype.h125 行で定義されています。


関数

PtypeO osl::alt ( PtypeO  ptypeO  )  [inline]

owner を反転する

ptype.h197 行で定義されています。

参照先 isPiece().

Player osl::alt ( Player  player  )  [inline]

player.h12 行で定義されています。

参照元 osl::checkmate::ProofPiecesUtil::addMonopolizedPieces(), osl::search::AlphaBeta2Tree< EvalT >::addMultiPV(), FullWidth::alphaBeta(), osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearch(), osl::search::AlphaBeta2Tree< EvalT >::alphaBetaSearchAfterMove(), osl::search::AlphaBeta2< EvalT >::alphaBetaSearchRoot(), osl::checkmate::ProofTreeDepthDfpn::andNode(), osl::checkmate::FixedDepthSearcher2::attack(), osl::checkmate::FixedDepthSearcher::attack(), osl::checkmate::Dfpn::attack(), osl::eval::ProgressEvalGeneral< progress_eval_opening_t >::attackBonusScale(), osl::progress::Effect5x3WithBonus::attackEffect3(), osl::checkmate::ProofNumberTable::attackEstimation(), osl::search::QuiescenceGenerator< P >::attackGoldWithPawn(), osl::checkmate::LibertyEstimator::attackH(), osl::checkmate::PureLibertyEstimator::attackH(), osl::search::QuiescenceGenerator< P >::attackKing8(), osl::search::QuiescenceGenerator< P >::attackKnightWithPawn(), osl::search::QuiescenceGenerator< P >::attackMajorPiece(), osl::search::QuiescenceGenerator< P >::attackMajorPieceFirstSelection(), osl::checkmate::attackProofCost(), osl::search::QuiescenceGenerator< P >::attackSilverWithPawn(), osl::search::QuiescenceGenerator< P >::attackToPinned(), osl::search::QuiescenceGenerator< P >::attackWithKnight(), osl::rating::BadLance::basicMatch(), osl::search::AlphaBeta2Window::beta(), osl::rating::DefenseKing8::blocking(), osl::checkmate::Dfpn::blockingSimulation(), osl::search::QuiescenceGenerator< P >::breakThreatmate(), osl::search::FixedEval::brinkmatePenalty(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateAttackRooks(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateGoldPenalty(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateRookRankBonus(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateSilverPenalty(), osl::eval::ml::GoldFeatures::canMoveToSide(), osl::checkmate::CheckmateIfCapture::cannotCapture(), osl::eval::ml::GoldFeatures::canRetreat(), osl::eval::ml::SilverFeatures::canRetreat(), osl::search::QuiescenceGenerator< P >::capture(), osl::rating::Threatmate::captureForKnightCheck(), osl::Move::capturePtypeO(), osl::eval::captureVal(), changeTurn(), osl::search::QuiescenceGenerator< P >::check(), check_all(), convert(), osl::effect_util::ShadowEffect::count(), Searcher::count(), osl::rating::DefenseKing8::count(), osl::rating::CountEffect2::count(), osl::eval::ml::King25Effect::countEffectAndPieces(), osl::eval::ml::King25EffectBoth::countEffectAndPiecesBoth(), osl::progress::Effect5x3WithBonus::countEffectPieces(), osl::checkmate::ProofNumberTable::countLiberty(), osl::search::QuiescenceSearch2< EvalT >::currentValueWithLastThreat(), osl::checkmate::FixedDepthSearcher2::defense(), osl::checkmate::FixedDepthSearcher::defense(), osl::checkmate::Dfpn::defense(), osl::checkmate::FixedDepthSearcher2::defenseEstimation(), osl::checkmate::FixedDepthSearcher::defenseEstimation(), osl::checkmate::LibertyEstimator::defenseH(), osl::search::DominanceCheck::detect(), osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >::diffWithMove(), osl::state::NumEffectState::doCaptureMove(), doMain(), osl::checkmate::CheckmateIfCapture::effectiveAttackCandidate0(), osl::eval::ml::King8EffectAll::effectState(), osl::eval::ml::King8Effect::effectState(), osl::search::QuiescenceGenerator< P >::escapeAll(), osl::search::QuiescenceGenerator< P >::escapeByMoveOnly(), osl::move_action::EscapeFilter< P, OrigAction >::EscapeFilter(), osl::search::QuiescenceGenerator< P >::escapeFromLastMove(), osl::search::QuiescenceGenerator< P >::escapeKing(), osl::search::QuiescenceGenerator< P >::escapeKingInTakeBack(), osl::search::QuiescenceGenerator< P >::escapeNormalPiece(), osl::eval::ml::KnightFork::eval(), osl::eval::ml::LanceEffectPieceKingRelative::eval(), osl::eval::ml::KnightHead::eval(), osl::eval::ml::NumPiecesBetweenBishopAndKing::eval(), osl::eval::ml::BishopRookFork::evalOne(), osl::eval::ml::NonPawnAttackedPtypePair::evalOne(), osl::eval::ml::MajorGoldSilverAttacked< Opening >::evalOne(), osl::eval::ml::PieceStandY::evalWithUpdate(), osl::eval::ml::PieceEval::evalWithUpdate(), osl::eval::ml::PawnDropBoth::evalWithUpdate(), osl::eval::ml::PawnPtypeOPtypeO::evalWithUpdate(), osl::eval::ml::PtypeY::evalWithUpdate(), osl::eval::ml::PtypeYY::evalWithUpdate(), osl::eval::ml::KingPieceRelativeNoSupport::evalWithUpdate(), osl::eval::ml::PiecePairKing::evalWithUpdateBang(), osl::eval::ml::PtypeYPawnY::evalWithUpdateBang(), osl::eval::ml::NonPawnAttackedPtype::evalWithUpdateBang(), osl::eval::ml::NonPawnAttacked::evalWithUpdateBang(), osl::search::QuiescenceSearch2< EvalT >::examineMoves(), osl::search::AlphaBeta2Tree< EvalT >::examineMovesRoot(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack2(), osl::eval::MinorPieceBonus::expect(), osl::progress::Effect5x3WithBonus::expect(), osl::progress::Effect5x3::expect(), osl::effect_util::UnblockableEffect::find(), osl::effect_util::SendOffPosition::find(), osl::rating::PatternBlock::find(), find_all(), osl::search::BreakThreatmate::findBlockLong(), osl::search::AlphaBeta2< EvalT >::findCheckmateInPV(), osl::effect_util::Pin::findDirection(), osl::eval::ml::BishopRookFork::findDropInLine(), osl::rating::PatternBlockGroup::findMatch(), osl::rating::AttackKing8Group::findMatch(), osl::rating::BadLanceGroup::findMatch(), osl::rating::BlockGroup::findMatch(), osl::rating::PtypeAttackedGroup::findMatch(), osl::move_action::EscapeFilter< P, OrigAction >::findThreat(), osl::effect_util::EffectUtil::findThreat(), osl::state::NumEffectState::findThreatenedPiece(), osl::search::AlphaBeta2< EvalT >::fullWindow(), osl::move_generator::SafeDropMajorPiece< P >::generate(), osl::search::BreakThreatmate::generate(), osl::search::BreakThreatmate::generateAddEffect(), osl::search::MoveGenerator::generateAll(), osl::search::QuiescenceSearch2< EvalT >::generateAndExamineTakeBack2(), osl::checkmate::Dfpn::generateCheck(), osl::checkmate::Dfpn::generateEscape(), osl::search::MoveGenerator::generateKingEscape(), osl::move_generator::without_effect::generateLongMove(), osl::search::BreakThreatmate::generateOpenRoad(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePiecePtype(), osl::rating::FeatureSet::generateRating(), osl::record::KisenFile::getMoves(), osl::checkmate::Dfpn::grandParentSimulation(), osl::state::NumEffectState::hasEffectByNotPinned(), osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional(), osl::checkmate::Dfpn::hasEscapeMove(), osl::state::NumEffectState::inCheck(), increment(), osl::rating::PinAttack::index(), osl::eval::ml::LanceEffectPieceKingRelative::index(), osl::eval::ml::PtypeYY::index(), osl::eval::ml::KingPieceRelative::index(), osl::rating::Open::index(), osl::rating::ImmediateAddSupport::index(), osl::rating::BigramAttack::index(), osl::eval::ml::NonPawnAttackedPtypePair::index1(), osl::search::MoveGenerator::init(), osl::rating::Threatmate::isCandidate(), osl::annotate::Analyzer::isCheckmate(), osl::RepetitionCounter::isConsistent(), osl::state::NumEffectState::isConsistent(), osl::game_playing::GameState::isIllegal(), osl::checkmate::DualDfpn::isLosingState(), isMated(), osl::effect_util::UnblockableCheck::isMember(), osl::move_classifier::TrapRook< P >::isMember(), osl::search::QuiescenceGenerator< P >::kingWalk(), osl::checkmate::ProofPieces::leaf(), osl::checkmate::ProofNumberTable::libertyAfterAllDrop(), osl::checkmate::ProofNumberTable::libertyAfterAllMove(), main(), osl::rating::RatingEnv::make(), osl::checkmate::King8Info::make(), osl::effect_util::Pin::makeByPiece(), osl::effect_util::Pin::makeByPieceKing(), makeCapture(), osl::rating::RelativeKingX::makeOldX(), osl::rating::RelativeKingY::makeOldY(), osl::state::NumEffectState::makePinOpen(), osl::progress::Effect5x3::makeProgressAll(), osl::checkmate::King8Info::makeWithPin(), osl::rating::RelativeKingX::makeX(), osl::rating::RelativeKingY::makeY(), osl::rating::PinAttack::match(), osl::rating::PatternBlock::match(), osl::rating::AttackKing8::match(), osl::rating::BadLance::match(), osl::rating::Block::match(), osl::rating::PtypeAttacked::match(), osl::rating::CheckmateIfCapture::match(), osl::annotate::Vision3::match(), osl::annotate::ThreatmateIfMorePieces::match(), osl::annotate::CheckmateForEscape::match(), osl::rating::Karanari::matchGeneral(), osl::eval::ml::SilverFork::matchGold(), osl::annotate::EscapeFromCheck::matchMain(), osl::eval::ml::SilverFork::matchRook(), osl::search::FixedEval::minusInfty(), osl::hash::HashKey::newMakeMove(), osl::hash::HashKey::newUnmakeMove(), osl::ntesuki::NtesukiMoveList::NtesukiMoveList(), osl::effect_util::SendOffPosition::onlyOneSupport(), osl::search::QSearch2SafeEscape< Eval, P >::operator()(), osl::eval::ml::King8EffectBase::MakeEffectStateDefense::operator()(), osl::eval::ml::King8EffectBase::MakeEffectStateSimple::operator()(), osl::rating::Threatmate::Helper::operator()(), osl::move_order::CaptureEstimation::operator()(), osl::RepetitionCounter::pop(), osl::search::SearchState2Core::popPass(), osl::threatmate::TreePredictor::predict(), osl::threatmate::RichPredictor::predict(), osl::threatmate::MlPredictor::predict(), osl::threatmate::KfendPredictor::predict(), osl::search::AlphaBeta3::presearch(), osl::threatmate::TreePredictor::probability(), osl::search::MoveStackRejections::probe(), processKifu(), osl::progress::ml::NewProgress::progress16(), osl::progress::ml::NewProgress::progressAttack(), osl::progress::ml::NewProgress::progressDefense(), osl::search::QuiescenceGenerator< P >::promote(), osl::search::QuiescenceGenerator< P >::promoteN(), osl::checkmate::Dfpn::proofOracleAttack(), osl::checkmate::Dfpn::proofOracleDefense(), osl::RepetitionCounter::push(), qsearch(), osl::search::AlphaBeta3::quiesce(), osl::search::AlphaBeta2Tree< EvalT >::quiesce(), osl::search::AlphaBeta3::quiesceRoot(), osl::search::AlphaBeta2Tree< EvalT >::quiesceRoot(), osl::search::AlphaBeta2Tree< EvalT >::quiesceStable(), osl::game_playing::GnuShogiClient::readAndProcessCommand(), osl::state::NumEffectState::recalcPinOpen(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordCheckmateResult(), osl::search::SearchBase< EvalT, SimpleHashTable, CountRecorder, RealizationProbability >::recordLoseByCheckmate(), osl::game_playing::CsaLogger::resign(), osl::search::AlphaBeta2Tree< EvalT >::rootAlpha(), osl::state::SimpleState::rotate180(), osl::Move::rotate180(), run(), Analyzer::search(), osl::search::QuiescenceSearch2< EvalT >::search(), search(), osl::search::AlphaBeta2Tree< EvalT >::searchAllMoves(), osl::search::QuiescenceSearch2< EvalT >::searchInternal(), osl::search::QuiescenceSearch2< EvalT >::searchIteratively(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::search::QuiescenceSearch2< EvalT >::searchProbCut(), osl::search::AlphaBeta3::searchRoot(), osl::search::QuiescenceRecord::sendOffPosition(), osl::checkmate::DualDfpn::OraclePool::setAttack(), osl::checkmate::Dfpn::Node::setCheckmateDefense(), osl::checkmate::Dfpn::Node::setNoCheckmateAttack(), osl::checkmate::Dfpn::Node::setNoCheckmateDefense(), osl::ntesuki::NtesukiMoveGenerator::setOrder(), osl::checkmate::DualDfpn::setRootPlayer(), osl::progress::Effect5x3Table::setupBlockEffect(), osl::progress::Effect5x3Table::setupLongEffect(), osl::progress::Effect5x3Table::setupShortEffect(), showPairStat(), osl::search::AlphaBeta2Tree< EvalT >::stableThreshold(), osl::search::QuiescenceSearch2< EvalT >::staticValueWithThreat(), osl::move_action::EscapeFilter< P, OrigAction >::suitable(), osl::annotate::ThreatmateIfMorePieces::suitable(), osl::search::QuiescenceSearch2< EvalT >::takeBackOrChase(), osl::search::QuiescenceSearch2< EvalT >::takeBackValue(), test_file(), test_position(), test_record(), osl::eval::ml::BishopRookFork::testCenter(), testWinOrLose(), osl::search::FixedEval::threatmatePenalty(), osl::search::AlphaBeta2Tree< EvalT >::tryCheckmate(), osl::search::AlphaBeta2Tree< EvalT >::tryCheckmateAgain(), osl::eval::ml::OpenMidEndingEval::update(), osl::eval::MinorPieceBonus::update(), osl::progress::Effect5x3::update(), osl::eval::endgame::AttackDefense::update(), osl::search::DualThreatmateState::updateInLock(), osl::progress::ml::NewProgress::updateNonPawnAttackedPtypePairOne(), osl::progress::ml::NewProgress::updatePieceKingRelativeBonus(), osl::search::AlphaBeta2Tree< EvalT >::updateRootPV(), と osl::eval::ml::OpenMidEndingEval::updateSub().

PtypeO osl::altIfPiece ( PtypeO  ptypeO  )  [inline]
osl::BOOST_STATIC_ASSERT ( sizeof(unsigned int)*8 >=  32  ) 
osl::BOOST_STATIC_ASSERT ( sizeof(Piece)  = =4  ) 
osl::BOOST_STATIC_ASSERT ( sizeof(Move)  = =4  ) 
osl::BOOST_STATIC_ASSERT ( sizeof(mask_t)  = =4  ) 
osl::BOOST_STATIC_ASSERT ( sizeof(HashKey) >=sizeof(int)*  5  ) 
bool osl::canPromote ( PtypeO  ptypeO  )  [inline]

ptype.h213 行で定義されています。

参照先 canPromote(), と getPtype().

bool osl::canPromote ( Ptype  ptype  )  [inline]

ptypeがpromote可能な型かどうかのチェック promote済みの場合はfalseを返す

ptype.h77 行で定義されています。

参照先 GOLD, と isPiece().

参照元 canPromote(), osl::eval::See::computeValue(), osl::eval::TakeBackValue::computeValue(), osl::effect_action::SimpleMove< Action >::doAction(), osl::effect_action::BetterToPromote< Action >::doAction(), osl::effect_action::AlwaysMove< Action >::doAction(), osl::effect_action::SimpleMove< Action >::doActionPtype(), osl::effect_action::BetterToPromote< Action >::doActionPtype(), osl::effect_action::AlwaysMove< Action >::doActionPtype(), osl::move_generator::AddEffectShort< P, T, isAttackToKing >::generate(), osl::move_generator::addeffect8::generateLong(), osl::move_generator::without_effect::generateLongMove(), osl::move_generator::addeffect8::generateLongMove(), osl::move_generator::detail::generateMovePiecePtypeMask(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePiecePtypeUnsafe(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePieceUnsafe(), osl::move_generator::all_moves::generatePtype(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePtypeUnsafe(), osl::move_generator::addeffect8::generateShort(), osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDirPiece(), osl::move_generator::addeffect8::AddEffect8Table::initMoveOffset(), osl::PtypeTable::initPtypeSub(), osl::PtypePlayerTraits< T, P >::mayPromote(), promote(), osl::Piece::promote(), osl::Move::promote(), osl::search::promoteIf(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::record::ki2::show(), と osl::record::psn::showXP().

PtypeO osl::captured ( PtypeO  ptypeO  )  [inline]

unpromoteすると共に,ownerを反転する.

ptype.h190 行で定義されています。

参照先 isPiece().

参照元 osl::checkmate::ProofPieces::attack(), osl::search::QuiescenceGenerator< P >::attackKing8(), osl::search::QuiescenceGenerator< P >::attackToPinned(), osl::search::QuiescenceGenerator< P >::breakThreatmate(), osl::rating::Threatmate::captureForKnightCheck(), osl::eval::ml::OpenMidEndingEval::captureValue(), osl::search::QuiescenceGenerator< P >::check(), osl::checkmate::DisproofPieces::defense(), osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffAfterCaptureMove(), osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::diffWithUpdate(), osl::apply_move::ApplyMoveOfTurn::doMove(), osl::apply_move::ApplyMove< P >::doUndoMove(), osl::checkmate::CheckmateIfCapture::effectiveAttackCandidate0(), osl::eval::ml::PieceStand::evalWithUpdate(), osl::eval::ml::PieceEval::evalWithUpdate(), osl::eval::ml::PawnDropBoth::evalWithUpdate(), osl::eval::ml::PromotedMinorPieces::evalWithUpdate(), osl::eval::ml::PawnPtypeOPtypeO::evalWithUpdate(), osl::eval::ml::PtypeX::evalWithUpdate(), osl::eval::ml::PtypeY::evalWithUpdate(), osl::eval::ml::PtypeYY::evalWithUpdate(), osl::eval::ml::KingPieceRelativeNoSupport::evalWithUpdate(), osl::eval::ml::KingPieceRelative::evalWithUpdate(), osl::eval::ml::PiecePairKing::evalWithUpdateBang(), osl::eval::ml::PtypeYPawnY::evalWithUpdateBang(), osl::eval::ml::PtypeCount::evalWithUpdateBang(), osl::eval::ml::NonPawnAttackedPtype::evalWithUpdateBang(), osl::eval::ml::NonPawnAttacked::evalWithUpdateBang(), osl::eval::ml::PawnAdvanceAll::evalWithUpdateBang(), osl::eval::PieceEval::expect(), osl::eval::endgame::AttackDefense::expect(), osl::eval::PtypeEvalTable::init(), osl::search::FirstMoveThreatmate::isMember(), osl::annotate::EscapeFromCheck::matchMain(), osl::hash::HashKey::newMakeMove(), osl::hash::HashKey::newUnmakeMove(), osl::record::kakinoki::strToMove(), osl::eval::ProgressEvalGeneral< OpeningEval >::update(), osl::eval::PieceEval::update(), osl::eval::MinorPieceBonus::update(), osl::eval::endgame::AttackDefense::update(), osl::progress::ml::NewProgress::updateMain(), osl::eval::ml::OpenMidEndingEval::updateSub(), と osl::progress::ml::NewProgress::updateSub().

void osl::changeTurn ( Player &  player  )  [inline]
std::ostream & osl::csaShow ( std::ostream &  os,
const osl::Ptype  ptype 
)

csa.cc196 行で定義されています。

参照先 osl::record::csa::show().

std::ostream & osl::csaShow ( std::ostream &  os,
Piece  piece 
)

csa.cc191 行で定義されています。

参照先 osl::record::csa::show().

std::ostream & osl::csaShow ( std::ostream &  os,
Position  pos 
)

csa.cc186 行で定義されています。

参照先 osl::record::csa::show().

std::ostream & osl::csaShow ( std::ostream &  os,
Move  move 
)
const char * osl::ctime_r ( const time_t *  timep,
char *  buf 
)
int osl::dirToMask ( Direction  dir  )  [inline]
template void osl::EffectUtil::findThreat< osl::eval::ml::OpenMidEndingEval > ( const NumEffectState &  state,
Position  position,
PtypeO  ptypeo,
PieceVector &  out 
)
template void osl::EffectUtil::findThreat< osl::eval::ProgressEval > ( const NumEffectState &  state,
Position  position,
PtypeO  ptypeo,
PieceVector &  out 
)
size_t osl::find ( Property  property,
const NumEffectState &  state,
const RatingEnv e,
const RatedMoveVector moves,
Move  selected 
)
Player osl::getOwner ( PtypeO  ptypeO  )  [inline]
Ptype osl::getPtype ( PtypeO  ptypeO  )  [inline]
bool osl::importantMove ( const NumEffectState &  state,
Move  move,
Position  my_king,
Position  op_king 
) [inline]
Player osl::indexToPlayer ( int  n  )  [inline]
Direction osl::inverse ( Direction  d  )  [inline]
Direction osl::inverseUnsafe ( Direction  d  )  [inline]

direction.h52 行で定義されています。

参照元 inverse(), と primDirUnsafe().

bool osl::isBasic ( Ptype  ptype  )  [inline]
bool osl::isLong ( Direction  d  )  [inline]
bool osl::isMajor ( Ptype  ptype  )  [inline]
bool osl::isMajorBasic ( Ptype  ptype  )  [inline]
bool osl::isMajorNonPieceOK ( Ptype  ptype  )  [inline]
bool osl::isPiece ( PtypeO  ptypeO  )  [inline]

EMPTY, EDGEではない.

ptype.h176 行で定義されています。

参照先 getPtype(), isPiece(), と isValidPtypeO().

bool osl::isPiece ( Ptype  ptype  )  [inline]
bool osl::isPromoted ( PtypeO  ptypeO  )  [inline]

ptypeOが promote済みかどうか

ptype.h222 行で定義されています。

参照先 getPtype(), isPromoted(), と isValidPtypeO().

bool osl::isPromoted ( Ptype  ptype  )  [inline]
bool osl::isShort ( Direction  d  )  [inline]

direction.h40 行で定義されています。

参照先 SHORT_DIRECTION_MAX.

参照元 shortToLong().

bool osl::isShort8 ( Direction  d  )  [inline]

direction.h44 行で定義されています。

参照先 SHORT8_DIRECTION_MAX.

参照元 inverse(), と primDir().

bool osl::isValid ( Ptype  ptype  ) 

int等からcastして作ったptypeが,正しい範囲に入っているかどうかのチェック

ptype.cc6 行で定義されています。

参照先 PTYPE_MAX, と PTYPE_MIN.

bool osl::isValid ( Player  player  ) 

cast等で作られたplayerが正しいかどうかを返す

player.cc4 行で定義されています。

参照先 BLACK, と WHITE.

bool osl::isValid ( Direction  d  ) 
bool osl::isValidPtypeO ( int  ptypeO  ) 
Direction osl::longToShort ( Direction  d  )  [inline]
template<Player P, Ptype PTYPE>
static void osl::makeCapture ( const NumEffectState &  state,
MoveVector &  out 
) [inline, static]
Offset osl::newOffset ( int  dx,
int  dy 
) [inline]

offset.h92 行で定義されています。

参照元 osl::effect_util::Neighboring25Direct::hasEffectNaive(), と osl::PtypeTable::init().

PtypeO osl::newPtypeO ( Player  player,
Ptype  ptype 
) [inline]

ptype.h137 行で定義されています。

参照元 osl::search::AlphaBeta2Tree< EvalT >::addMultiPV(), addValue(), adjustDual(), osl::search::AlphaBeta2< EvalT >::alphaBetaSearchRoot(), osl::search::QuiescenceGenerator< P >::attackMajorPieceFirstSelection(), osl::search::QuiescenceGenerator< P >::attackToPinned(), osl::rating::DefenseKing8::blocking(), osl::Move::capturePtypeO(), osl::eval::captureVal(), osl::search::MoveGenerator::captureValue(), osl::record::usi::charToPtypeO(), osl::search::QuiescenceGenerator< P >::check(), osl::search::AlphaBeta2< EvalT >::computeBestMoveIteratively(), osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffAfterCaptureMove(), osl::eval::ppair::PiecePairEvalTableBase< PiecePairPieceTable >::diffAfterSimpleMove(), osl::eval::ppair::PiecePairEval< PiecePairWithStand< Table >, Table >::diffWithMove(), osl::state::NumEffectState::doCaptureMove(), osl::state::NumEffectState::doSimpleMove(), osl::apply_move::ApplyDoUndoCaptureMove< P, NumEffectState >::doUndoCaptureMove(), osl::effect::ApplyDoUndoDropMove< P, SignatureEffect< BaseState > >::doUndoDropMove(), osl::apply_move::ApplyDoUndoSimpleMove< P, NumEffectState >::doUndoSimpleMove(), osl::move_action::NoAddEffectFilter< OrigAction >::dropMove(), osl::move_action::EscapeFilter< P, OrigAction >::EscapeFilter(), osl::eval::ml::PieceEval::evalWithUpdate(), osl::eval::ml::PtypeYY::evalWithUpdate(), osl::search::AlphaBeta2Tree< EvalT >::examineMovesRoot(), osl::eval::ppair::PiecePairEval< Eval, Table >::expect(), osl::effect_util::Pin::findPtype(), osl::eval::ppair::PiecePairIndex::forEachRelation(), osl::move_generator::without_effect::generateLongMove(), osl::move_generator::addeffect8::hasEffect(), osl::effect::hasLongMove(), osl::move_generator::addeffect8::hasShortEffect(), osl::effect::hasShortMove(), osl::move_generator::addeffect8::hasUnblockableEffect(), osl::checkmate::ImmediateCheckmateTable::ImmediateCheckmateTable(), osl::PtypeTable::init(), osl::eval::PtypeEvalTable::init(), osl::effect_util::Neighboring8Effect::Table::init(), osl::effect_util::Neighboring8Direct::Table::init(), osl::rating::Threatmate::isCandidate(), osl::move_classifier::TrapRook< P >::isMember(), osl::move_classifier::DirectCheck< P >::isMember(), osl::record::Characters::kanji(), osl::effect::Liberty8Table::Liberty8Table(), main(), osl::annotate::Vision3::match(), osl::hash::HashKey::newMakeMove(), osl::hash::HashKey::newUnmakeMove(), osl::game_playing::SearchPlayer::pawnValue(), osl::eval::ml::PiecePair::IndexTable::pindex(), osl::threatmate::TreePredictor::predict(), osl::threatmate::MlPredictor::predict(), osl::threatmate::KfendPredictor::predict(), osl::record::KanjiPrint::print(), osl::threatmate::TreePredictor::probability(), osl::progress::PtypeProgress::PtypeProgress(), osl::progress::PtypeProgressTable::PtypeProgressTable(), osl::PtypeTable::PtypeTable(), osl::search::AlphaBeta3::quiesce(), osl::search::AlphaBeta3::quiesceRoot(), osl::search::AlphaBeta2Tree< EvalT >::rootAlpha(), osl::eval::ml::PiecePair::sanitize(), Analyzer::search(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::search::QuiescenceSearch2< EvalT >::searchProbCut(), osl::eval::ProgressEvalGeneral< progress_eval_opening_t >::seeScale(), osl::effect::setBetweenMask(), osl::effect::MoveSignatureTable::setSignature(), osl::eval::ppair::PiecePairPieceTable::setUp(), osl::eval::ml::PieceEval::setUp(), osl::eval::ml::BishopHeadKingRelative::setUp(), osl::progress::Effect5x3Table::setupLongEffect(), osl::progress::Effect5x3Table::setupShortEffect(), osl::eval::ppair::PiecePairWithStand< Table >::setValues(), show(), osl::search::AlphaBeta2Tree< EvalT >::showFailLow(), showPairStat(), showPairStatAgainst(), showPieceStat(), osl::search::AlphaBeta2Tree< EvalT >::showPV(), osl::move_action::NoAddEffectFilter< OrigAction >::simpleMove(), osl::search::AlphaBeta2Tree< EvalT >::stableThreshold(), osl::eval::ppair::PiecePairWithStand< PiecePairPieceTable >::standBonus(), osl::search::QuiescenceSearch2< EvalT >::staticValue(), osl::move_action::EscapeFilter< P, OrigAction >::suitable(), osl::effect_util::SendOffPosition::Table::Table(), osl::eval::endgame::DefenseKing::Table::Table(), osl::eval::endgame::AttackKing::Table::Table(), osl::search::QuiescenceSearch2< EvalT >::takeBackOrChase(), osl::search::AlphaBeta2Tree< EvalT >::tryCheckmateAgain(), osl::move_action::NoAddEffectFilter< OrigAction >::unknownMove(), と osl::search::AlphaBeta2Tree< EvalT >::updateRootPV().

bool osl::operator!= ( Position  l,
Position  r 
) [inline]

position.h288 行で定義されています。

bool osl::operator!= ( PieceStand  l,
PieceStand  r 
) [inline]

pieceStand.h261 行で定義されています。

bool osl::operator!= ( Piece  l,
Piece  r 
) [inline]

piece.h234 行で定義されています。

bool osl::operator!= ( const PathEncoding &  l,
const PathEncoding &  r 
) [inline]

pathEncoding.h79 行で定義されています。

bool osl::operator!= ( Offset  l,
Offset  r 
) [inline]

offset.h100 行で定義されています。

bool osl::operator!= ( Move  lhs,
Move  rhs 
) [inline]

move.h332 行で定義されています。

bool osl::operator!= ( EffectContent  l,
EffectContent  r 
) [inline]

effectContent.h58 行で定義されています。

int osl::operator* ( int  ,
Player   
)
int osl::operator* ( Player  ,
int   
)
int osl::operator+ ( int  ,
Player   
)
int osl::operator+ ( Player  ,
int   
)
int osl::operator- ( int  ,
Player   
)
int osl::operator- ( Player  ,
int   
)
int osl::operator/ ( int  ,
Player   
)
int osl::operator/ ( Player  ,
int   
)
bool osl::operator< ( Position  l,
Position  r 
) [inline]

position.h292 行で定義されています。

参照先 osl::Position::uintValue().

bool osl::operator< ( PieceStand  l,
PieceStand  r 
) [inline]

pieceStand.h265 行で定義されています。

参照先 osl::PieceStand::getFlags(), と osl::PieceStand::testCarries().

bool osl::operator< ( Piece  l,
Piece  r 
) [inline]

piece.h226 行で定義されています。

参照先 osl::Piece::intValue().

bool osl::operator< ( Offset  l,
Offset  r 
) [inline]

offset.h104 行で定義されています。

参照先 osl::Offset::intValue().

bool osl::operator< ( MoveLogProb const &  lhs,
MoveLogProb const &  rhs 
) [inline]

moveLogProb.h50 行で定義されています。

参照先 osl::MoveLogProb::getLogProb(), と osl::MoveLogProb::getMove().

bool osl::operator< ( Move  lhs,
Move  rhs 
) [inline]

move.h316 行で定義されています。

参照先 osl::Move::intValue().

bool osl::operator< ( EffectContent  l,
EffectContent  r 
) [inline]

effectContent.h62 行で定義されています。

参照先 osl::EffectContent::intValue().

std::ostream & osl::operator<< ( std::ostream &  os,
const Sennichite &  s 
)
std::ostream & osl::operator<< ( std::ostream &  os,
const PtypeO  ptypeO 
)

ptype.cc65 行で定義されています。

参照先 getOwner(), getPtype(), と isPiece().

std::ostream & osl::operator<< ( std::ostream &  os,
const Ptype  ptype 
)

ptype.cc60 行で定義されています。

参照先 osl::PtypeTable::getName(), と Ptype_Table.

std::ostream & osl::operator<< ( std::ostream &  os,
Position  position 
)

position.cc28 行で定義されています。

参照先 osl::Position::isPieceStand(), osl::Position::x(), と osl::Position::y().

std::ostream & osl::operator<< ( std::ostream &  os,
Player  player 
)

player.cc9 行で定義されています。

参照先 BLACK.

std::ostream & osl::operator<< ( std::ostream &  os,
osl::PieceStand  stand 
)

pieceStand.cc81 行で定義されています。

参照先 osl::PieceStand::get(), と osl::PieceStand::order.

std::ostream & osl::operator<< ( std::ostream &  os,
const Piece  piece 
)
std::ostream & osl::operator<< ( std::ostream &  os,
const PathEncoding &  path 
)

pathEncoding.cc33 行で定義されています。

参照先 osl::PathEncoding::getDepth(), と osl::PathEncoding::getPath().

std::ostream & osl::operator<< ( std::ostream &  os,
Offset  offset 
)

offset.cc61 行で定義されています。

参照先 osl::Offset::intValue().

std::ostream & osl::operator<< ( std::ostream &  os,
MoveLogProb const &  moveLogProb 
)

moveLogProb.cc7 行で定義されています。

参照先 osl::MoveLogProb::getLogProb(), と osl::MoveLogProb::getMove().

std::ostream & osl::operator<< ( std::ostream &  os,
Move  move 
)
std::ostream & osl::operator<< ( std::ostream &  os,
const Direction  d 
)

direction.cc10 行で定義されています。

bool osl::operator== ( const Sennichite &  l,
const Sennichite &  r 
) [inline]

sennichite.h35 行で定義されています。

参照先 osl::Sennichite::value.

bool osl::operator== ( Position  l,
Position  r 
) [inline]

position.h284 行で定義されています。

参照先 osl::Position::uintValue().

bool osl::operator== ( PieceStand  l,
PieceStand  r 
) [inline]

pieceStand.h255 行で定義されています。

参照先 osl::PieceStand::getFlags(), と osl::PieceStand::testCarries().

bool osl::operator== ( Piece  l,
Piece  r 
) [inline]

piece.h230 行で定義されています。

参照先 osl::Piece::intValue().

bool osl::operator== ( const PathEncoding &  l,
const PathEncoding &  r 
) [inline]

pathEncoding.h75 行で定義されています。

参照先 osl::PathEncoding::getPath().

bool osl::operator== ( Offset  l,
Offset  r 
) [inline]

offset.h96 行で定義されています。

参照先 osl::Offset::intValue().

bool osl::operator== ( MoveLogProb const &  lhs,
MoveLogProb const &  rhs 
) [inline]

moveLogProb.h46 行で定義されています。

参照先 osl::MoveLogProb::getLogProb(), と osl::MoveLogProb::getMove().

bool osl::operator== ( Move  lhs,
Move  rhs 
) [inline]

move.h328 行で定義されています。

参照先 osl::Move::intValue().

bool osl::operator== ( EffectContent  l,
EffectContent  r 
) [inline]

effectContent.h54 行で定義されています。

参照先 osl::EffectContent::intValue().

bool osl::operator> ( Position  l,
Position  r 
) [inline]

position.h296 行で定義されています。

参照先 osl::Position::uintValue().

std::istream & osl::operator>> ( std::istream &  is,
osl::Ptype ptype 
)

ptype.cc17 行で定義されています。

参照先 BISHOP, GOLD, KING, KNIGHT, LANCE, PAWN, PBISHOP, PKNIGHT, PLANCE, PPAWN, PROOK, PSILVER, PTYPE_EDGE, PTYPE_EMPTY, ROOK, と SILVER.

int osl::playerToIndex ( Player  player  )  [inline]
int osl::playerToMask ( Player  player  )  [inline]

player.h30 行で定義されています。

int osl::playerToMul ( Player  player  )  [inline]
Direction osl::primDir ( Direction  d  )  [inline]
Direction osl::primDirUnsafe ( Direction  d  )  [inline]
PtypeO osl::promote ( PtypeO  ptypeO  )  [inline]

pieceをpromoteさせる.

promote不可のptypeを与えてはいけない.

ptype.h149 行で定義されています。

参照先 canPromote(), getPtype(), と isPiece().

Ptype osl::promote ( Ptype  ptype  )  [inline]

promote可能なptypeに対して,promote後の型を返す promote不可のptypeを与えてはいけない.

ptype.h99 行で定義されています。

参照先 canPromote(), と isPiece().

参照元 osl::eval::See::computeValue(), osl::eval::TakeBackValue::computeValue(), osl::effect_action::SimpleMove< Action >::doAction(), osl::effect_action::SimpleBetterToPromote< Action >::doAction(), osl::effect_action::Promote< Action >::doAction(), osl::effect_action::BetterToPromote< Action >::doAction(), osl::effect_action::AlwaysMove< Action >::doAction(), osl::effect_action::SimpleMove< Action >::doActionPtype(), osl::effect_action::SimpleBetterToPromote< Action >::doActionPtype(), osl::effect_action::Promote< Action >::doActionPtype(), osl::effect_action::BetterToPromote< Action >::doActionPtype(), osl::effect_action::AlwaysMove< Action >::doActionPtype(), osl::move_generator::piece_on_board::generateLong(), osl::move_generator::detail::generateMovePiecePtypeMask(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePiecePtypeUnsafe(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePieceUnsafe(), osl::move_generator::piece_on_board::generateShort(), osl::search::BigramKillerMove::getMove(), osl::record::KisenPlusFile::getMoves(), osl::record::MiniBoard::getState(), osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDirPiece(), osl::move_generator::addeffect8::AddEffect8Table::initMoveOffset(), osl::PtypeTable::initPtypeSub(), osl::search::promoteIf(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::record::kakinoki::strToMove(), と osl::record::MiniBoardChar50::toSimpleState().

PtypeO osl::promoteWithMask ( PtypeO  ptypeO,
int  promoteMask 
) [inline]
unsigned int osl::ptypeOIndex ( PtypeO  ptypeo  )  [inline]
Direction osl::shortToLong ( Direction  d  )  [inline]
void osl::showLogProb ( const Histogram8 numerator,
const Histogram8 denom1,
const Histogram8 denom2 
)

ratingstat.cc142 行で定義されています。

参照先 length, と width.

void osl::showLogProb ( const stat::Histogram numerator,
const stat::Histogram denom1,
const stat::Histogram denom2 
)
void osl::showLogProb ( const stat::Histogram numerator,
const stat::Histogram denominator 
)
PtypeO osl::unpromote ( PtypeO  ptypeO  )  [inline]

pieceをunpromoteさせる.

promoteしていないptypeを与えてもよい

ptype.h166 行で定義されています。

Ptype osl::unpromote ( Ptype  ptype  )  [inline]

ptypeがpromote後の型の時に,promote前の型を返す. promoteしていない型の時はそのまま返す

ptype.h87 行で定義されています。

参照先 isPiece().

参照元 osl::search::StateElements::addMyMove(), osl::search::StateElements::addOpMove(), osl::ntesuki::NtesukiTable::allocateWithMove(), osl::checkmate::ProofPieces::attack(), osl::checkmate::OracleAdjust::attack(), osl::checkmate::Dfpn::attack(), osl::checkmate::LibertyEstimator::attackH(), osl::search::QuiescenceGenerator< P >::attackMajorPieceFirstSelection(), osl::ntesuki::NtesukiRecord::calcProofPiecesOr(), osl::search::StateElements::canReject(), osl::rating::Threatmate::captureForKnightCheck(), osl::search::QuiescenceGenerator< P >::check(), osl::search::SacrificeCheck::count2(), osl::checkmate::ProofNumberTable::countLibertyLong(), osl::checkmate::DisproofPieces::defense(), osl::effect_action::BetterToPromote< Action >::doActionPtype(), osl::effect_action::AlwaysMove< Action >::doActionPtype(), osl::checkmate::CheckmateIfCapture::effectiveAttackCandidate0(), osl::apply_move::ApplyDoUndoCaptureMove< P, state::SimpleState >::epilogue(), osl::search::QuiescenceGenerator< P >::escapeNormalPiece(), osl::eval::ml::PieceStand::evalWithUpdate(), osl::eval::ml::PieceStandY::evalWithUpdate(), osl::eval::ml::PieceEval::evalWithUpdate(), osl::eval::ml::PawnDropBoth::evalWithUpdate(), osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang(), osl::eval::ml::PtypeCount::evalWithUpdateBang(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack2(), osl::eval::MinorPieceBonus::expect(), osl::rating::DropCapturedGroup::findMatchWithoutProgress(), osl::ntesuki::NtesukiTable::findWithMove(), osl::ntesuki::NtesukiTable::findWithMoveConst(), osl::checkmate::Dfpn::generateCheck(), osl::move_generator::without_effect::generateLongMove(), osl::search::BigramKillerMove::getMove(), osl::PtypeTable::hasLongMove(), osl::eval::ml::PtypeCount::indexBoardCount(), osl::eval::ml::PtypeCount::indexBoardCountX(), osl::eval::ml::PtypeCount::indexBoardCountY(), osl::eval::ml::PtypeCount::indexCount(), osl::eval::ml::PtypeCount::indexCountX(), osl::eval::ml::PtypeCount::indexCountY(), osl::eval::PtypeEvalTable::init(), osl::state::SimpleState::isAlmostValidMove(), osl::state::NumEffectState::isAlmostValidMove(), isMajor(), osl::move_classifier::BlockLongEffect< P, T >::isMember(), make1(), make2(), osl::rating::PatternLongGroup2::makeDirection(), osl::rating::PatternLongGroup::makeDirection(), osl::rating::DropCaptured::match(), osl::annotate::ThreatmateIfMorePieces::match(), osl::record::MiniBoardChar50::MiniBoardChar50(), osl::PieceStand::nextStand(), osl::PieceBasicLessThan::operator()(), osl::rating::PatternLong::PatternLong(), osl::rating::PatternLong2::PatternLong2(), osl::PieceStand::previousStand(), osl::apply_move::ApplyDoUndoCaptureMove< P, state::SimpleState >::prologue(), osl::search::QuiescenceSearch2< EvalT >::searchMain(), osl::ntesuki::NtesukiRecord::setDisproofPieces(), osl::progress::Effect5x3Table::setupOnStand(), osl::record::usi::show(), show(), osl::record::ki2::show(), osl::record::csa::show(), osl::eval::endgame::DefenseKing::Table::Table(), osl::eval::endgame::AttackKing::Table::Table(), osl::eval::ProgressEvalGeneral< OpeningEval >::update(), osl::eval::MinorPieceBonus::update(), osl::progress::ml::NewProgress::updateMain(), osl::progress::Effect5x3::updateStand(), osl::eval::ml::OpenMidEndingEval::updateSub(), osl::search::StateElements::validCaptureMove(), と osl::search::StateElements::validSimpleMove().


変数

tables.cc105 行で定義されています。

参照元 osl::checkmate::OracleAdjust::attack(), osl::checkmate::detail::blockingDiagonalAttack(), osl::move_generator::detail::blockingU(), osl::search::QuiescenceGenerator< P >::breakThreatmate(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateGoldPenalty(), osl::eval::ProgressEvalGeneral< OpeningEval >::calculateSilverPenalty(), osl::move_generator::addeffect8::canAddLongEffect(), osl::move_classifier::PawnDropCheckmate< P >::canEscape(), osl::eval::ml::PawnAdvanceUtil::cantAdvance(), osl::rating::Threatmate::captureForKnightCheck(), osl::effect_util::AdditionalOrShadow::count(), osl::eval::ml::NumPiecesBetweenBishopAndKing::countBetween(), osl::checkmate::ProofNumberTable::countLibertyLong(), osl::checkmate::ProofNumberTable::countLibertyShortNotKnight(), osl::effect::directionOf(), osl::effect::NumSimpleEffectTable::doBlockAt(), osl::checkmate::EdgeTable::EdgeTable(), osl::effect::EffectedNumTable::EffectedNumTable(), osl::checkmate::CheckmateIfCapture::effectiveAttackCandidate0(), osl::eval::ml::King8EffectAll::effectState(), osl::eval::ml::King8Effect::effectState(), osl::search::QuiescenceGenerator< P >::escapeByMoveOnly(), osl::search::QuiescenceGenerator< P >::escapeNormalPiece(), osl::eval::ml::KnightHead::eval(), osl::eval::ml::PawnPtypeOPtypeO::eval(), osl::eval::ml::GoldFeatures::evalOne(), osl::effect_util::UnblockableEffect::find(), osl::rating::PatternLong2::find(), osl::rating::PatternBlock::find(), osl::effect_util::AdditionalEffect::find(), osl::eval::See::findAdditionalPieces(), osl::search::BreakThreatmate::findBlockLong(), osl::effect_util::VirtualPin::findDirection(), osl::effect_util::Pin::findDirection(), osl::eval::ml::BishopRookFork::findDropInLine(), osl::eval::TakeBackValue::findEffectPiecesAfterMove(), osl::rating::BadLanceGroup::findMatch(), osl::move_action::EscapeFilter< P, OrigAction >::findThreat(), osl::move_generator::CaptureEffectToAroundKing8< P >::generate(), osl::search::BreakThreatmate::generate(), osl::move_generator::AddEffect8Defense< P >::generate(), osl::move_generator::Escape< Action >::generateBlocking(), osl::move_generator::Escape< Action >::generateBlockingKing(), osl::move_generator::OpenKingRoad< P >::generateDir(), osl::move_generator::without_effect::generateDrop(), osl::move_generator::without_effect::generateLongMove(), osl::move_generator::addeffect8::generateLongMove(), osl::move_generator::without_effect::generateLongMoveDirectCanPromote(), osl::move_generator::without_effect::generateLongMoveDirectNoPromote(), osl::move_generator::without_effect::generateMove(), osl::move_generator::detail::generateMoveToPtypeMaskWithPieceMask(), osl::move_generator::detail::generateOpenOrCapture(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePiece(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePiecePtype(), osl::effect_util::Neighboring8Effect::Table::hasAtMaxPieceBetween(), osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDir(), osl::checkmate::ImmediateCheckmate::hasCheckmateMoveDirPiece(), osl::effect_util::AdditionalEffect::hasEffect(), osl::state::NumEffectState::hasEffectByWithRemove(), osl::state::NumEffectState::hasEffectDir(), osl::state::NumEffectState::hasEffectFromTo(), osl::effect_util::Neighboring8Effect::hasEffectFromTo(), osl::effect_util::Neighboring8Direct::hasEffectFromTo(), osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional(), osl::effect::hasShortMove(), osl::checkmate::ImmediateCheckmateTable::ImmediateCheckmateTable(), osl::PtypeTable::init(), osl::effect_util::Neighboring8Effect::Table::init(), osl::effect_util::Neighboring8Direct::Table::init(), osl::state::SimpleState::isEmptyBetween(), osl::move_generator::without_effect::isEmptyOrAdditional(), osl::move_classifier::KingOpenMove< P >::isMember(), osl::move_classifier::BlockLongEffect< P, T >::isMember(), osl::move_classifier::KingOpenMove< P >::isMemberMain(), osl::Neighboring8::isNeighboring8(), osl::move_action::ToAroundKing24Filter< P, OrigAction >::isToAroundKing24Move(), osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move(), osl::checkmate::ProofNumberTable::libertyAfterAllMove(), osl::effect::Liberty8Table::longEffectOf(), osl::checkmate::King8Info::make(), osl::rating::BadLance::match(), osl::eval::ml::SilverFork::matchGold(), osl::eval::ml::SilverFork::matchRook(), osl::rating::PatternLong::nextPieceOrEnd(), osl::rating::Pattern::nextPosition(), osl::effect::AddMaskAction< Liberty, P, T >::operator()(), osl::eval::ml::King8EffectBase::MakeEffectStateDefense::operator()(), osl::eval::ml::King8EffectBase::MakeEffectStateSimple::operator()(), osl::state::NumEffectState::pinnedCanMoveTo(), osl::state::NumEffectState::pinnedDir(), osl::state::NumEffectState::recalcPinOpen(), osl::effect::shortMaskOf(), osl::checkmate::detail::slowCheckDrop(), osl::checkmate::ImmediateCheckmate::slowHasCheckmateMoveDirPiece(), と osl::move_action::EscapeFilter< P, OrigAction >::suitable().

const int osl::EDGE_NUM = 0x40

piece.h14 行で定義されています。

参照元 osl::Piece::EDGE().

const int osl::EMPTY_NUM = 0x80
const int osl::EvalStages = 4

midgame.h14 行で定義されています。

参照元 osl::eval::ml::King25EffectEachXY::setUp().

const int osl::NStages = 4

midgame.h13 行で定義されています。

参照元 osl::eval::ml::PinPtypePawnAttack::setUp(), osl::eval::ml::PinPtypeDistance::setUp(), osl::eval::ml::PinPtype::setUp(), osl::eval::ml::PieceStandCombinationBoth::setUp(), osl::eval::ml::PieceStandY::setUp(), osl::eval::ml::NonPawnPieceStandTurn::setUp(), osl::eval::ml::CanCheckNonPawnPieceStandCombination::setUp(), osl::eval::ml::NonPawnPieceStandCombination::setUp(), osl::eval::ml::BishopMobilityEach::setUp(), osl::eval::ml::RookMobilitySumKingX::setUp(), osl::eval::ml::RookMobilityXKingX::setUp(), osl::eval::ml::RookMobilityY::setUp(), osl::eval::ml::RookMobilityX::setUp(), osl::eval::ml::RookMobilitySum::setUp(), osl::eval::ml::KnightFork::setUp(), osl::eval::ml::BishopRookFork::setUp(), osl::eval::ml::SilverFork::setUp(), osl::eval::ml::PtypeCombination::setUp(), osl::eval::ml::GoldAndSilverNearKingCombination::setUp(), osl::eval::ml::GoldAndSilverNearKing::setUp(), osl::eval::ml::PtypeYPawnY::setUp(), osl::eval::ml::LanceEffectPieceKingRelative::setUp(), osl::eval::ml::PtypeCountXYAttack::setUp(), osl::eval::ml::PtypeCountXY::setUp(), osl::eval::ml::PtypeCount::setUp(), osl::eval::ml::NonPawnAttackedPtypePair::setUp(), osl::eval::ml::NonPawnAttackedPtype::setUp(), osl::eval::ml::KnightHeadOppPiecePawnOnStand::setUp(), osl::eval::ml::KnightHead::setUp(), osl::eval::ml::NonPawnAttackedKingRelative::setUp(), osl::eval::ml::NonPawnAttacked::setUp(), osl::eval::ml::PromotedMinorPiecesY::setUp(), osl::eval::ml::PromotedMinorPieces::setUp(), osl::eval::ml::PawnPtypeOPtypeOY::setUp(), osl::eval::ml::PawnPtypeOPtypeO::setUp(), osl::eval::ml::KnightCheckY::setUp(), osl::eval::ml::GoldSideMove::setUp(), osl::eval::ml::GoldKnightKingRelative::setUp(), osl::eval::ml::SilverHeadPawnKingRelative::setUp(), osl::eval::ml::PawnStateKingRelative::setUp(), osl::eval::ml::PawnDropNonDrop::setUp(), osl::eval::ml::PawnDropPawnStandY::setUp(), osl::eval::ml::PawnDropPawnStandX::setUp(), osl::eval::ml::PawnDropPawnStand::setUp(), osl::eval::ml::PawnDropX::setUp(), osl::eval::ml::BishopStandFile5::setUp(), osl::eval::ml::RookRookPiece::setUp(), osl::eval::ml::RookRook::setUp(), osl::eval::ml::BishopBishopPiece::setUp(), osl::eval::ml::NumPiecesBetweenBishopAndKingAll::setUp(), osl::eval::ml::NumPiecesBetweenBishopAndKingOpp::setUp(), osl::eval::ml::NumPiecesBetweenBishopAndKingSelf::setUp(), osl::eval::ml::KingRookBishop::setUp(), osl::eval::ml::BishopHeadX::setUp(), osl::eval::ml::BishopHeadKingRelative::setUp(), osl::eval::ml::BishopHead::setUp(), osl::eval::ml::BishopEffectPieceKingRelative::setUp(), osl::eval::ml::BishopEffectPiece::setUp(), osl::eval::ml::RookPromoteDefenseRookH::setUp(), osl::eval::ml::RookPromoteDefense::setUp(), osl::eval::ml::RookEffectPieceKingRelative::setUp(), osl::eval::ml::RookEffectPiece::setUp(), osl::eval::ml::RookPawnY::setUp(), osl::eval::ml::RookPawnYX::setUp(), osl::eval::ml::King25EffectCountCombinationY::setUp(), osl::eval::ml::King25EffectCountCombination::setUp(), osl::eval::ml::King25MobilityY::setUp(), osl::eval::ml::King25MobilityX::setUp(), osl::eval::ml::King25Mobility::setUp(), osl::eval::ml::King25Effect3Y::setUp(), osl::eval::ml::King25Effect3::setUp(), osl::eval::ml::King25BothSideY::setUp(), osl::eval::ml::King25BothSideX::setUp(), osl::eval::ml::King25BothSide::setUp(), osl::eval::ml::KingMobilitySum::setUp(), osl::eval::ml::KingMobilityWithBishop::setUp(), osl::eval::ml::KingMobilityWithRook::setUp(), osl::eval::ml::KingMobility::setUp(), osl::eval::ml::King3PiecesXY::setUp(), osl::eval::ml::King3Pieces::setUp(), osl::eval::ml::King25EffectEachKXY::setUp(), osl::eval::ml::King25EffectEachXY::setUp(), osl::eval::ml::King25EffectSupportedY::setUp(), osl::eval::ml::King25EffectSupported::setUp(), osl::eval::ml::King25EffectY2::setUp(), osl::eval::ml::King25Effect2::setUp(), osl::eval::ml::PtypeYY::setUp(), osl::eval::ml::KingPieceRelativeNoSupport::setUp(), osl::eval::ml::KingXBlocked3Y::setUp(), osl::eval::ml::KingXBlocked3::setUp(), osl::eval::ml::KingXBothBlockedY::setUp(), と osl::eval::ml::KingXBothBlocked::setUp().

tables.cc120 行で定義されています。

参照元 osl::PathEncoding::popMove(), と osl::PathEncoding::pushMove().

const int osl::PTYPE_SIZE = PTYPE_MAX-PTYPE_MIN+1

tables.cc107 行で定義されています。

参照元 osl::checkmate::OracleAdjust::attack(), osl::checkmate::Dfpn::attack(), osl::search::QuiescenceGenerator< P >::attackKing8(), osl::search::QuiescenceGenerator< P >::breakThreatmate(), osl::PieceStand::canAdd(), osl::move_generator::addeffect8::canAddLongEffect(), osl::search::ShouldPromoteCut::canIgnore(), osl::state::SimpleState::countPiecesOnStandBit(), osl::checkmate::FixedDepthSearcher2::defenseEstimation(), osl::checkmate::FixedDepthSearcher::defenseEstimation(), osl::effect_action::SimpleMove< Action >::doAction(), osl::effect_action::BetterToPromote< Action >::doAction(), osl::effect_action::AlwaysMove< Action >::doAction(), osl::effect::EffectedNumTable::EffectedNumTable(), osl::eval::ml::PieceStand::evalWithUpdate(), osl::search::QuiescenceSearch2< EvalT >::examineMoves(), osl::search::QuiescenceSearch2< EvalT >::examineTakeBack2(), osl::effect_util::UnblockableEffect::find(), osl::effect_util::AdditionalEffect::find(), osl::eval::See::findAdditionalPieces(), osl::effect_util::VirtualPin::findDirection(), osl::effect_util::Pin::findDirection(), osl::eval::TakeBackValue::findEffectPiecesAfterMove(), osl::rating::EscapePinGroup::findMatch(), osl::effect_util::Neighboring8Direct::Table::findNearest(), osl::effect_util::Pin::findPtype(), osl::state::NumEffectState::findThreatenedPiece(), osl::effect_util::EffectUtil::forEachEffectOfPtypeO(), osl::search::BreakThreatmate::generate(), osl::search::BreakThreatmate::generateBreakDrop(), osl::search::AlphaBeta3::generateCapture(), osl::search::AlphaBeta3::generateCaptureAll(), osl::checkmate::Dfpn::generateCheck(), osl::move_generator::addeffect8::generateLongDropWithOffset(), osl::move_generator::without_effect::generateLongMove(), osl::move_generator::PieceOnBoard< Action, noCapturePromote >::generatePieceUnsafe(), osl::effect::Liberty8Table::getLongEffect(), osl::search::BigramKillerMove::getMove(), osl::effect_util::Neighboring8Effect::Table::hasEffect(), osl::effect_util::Neighboring8Direct::Table::hasEffect(), osl::move_generator::addeffect8::hasEffect(), osl::state::NumEffectState::hasEffectFromTo(), osl::effect_util::Neighboring8Effect::hasEffectNaive(), osl::effect_util::Neighboring8Direct::hasEffectNaive(), osl::effect_util::Neighboring25Direct::hasEffectNaive(), osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional(), osl::effect::hasLongMove(), osl::move_generator::addeffect8::hasShortEffect(), osl::effect::hasShortMove(), osl::move_generator::addeffect8::hasUnblockableEffect(), osl::checkmate::ImmediateCheckmateTable::ImmediateCheckmateTable(), osl::eval::ml::PieceStandY::index(), osl::eval::ml::NonPawnPieceStandTurn::index(), osl::rating::ImmediateAddSupport::index(), osl::eval::ml::PtypeCount::indexBoardCount(), osl::eval::ml::PtypeCount::indexBoardCountX(), osl::eval::ml::PtypeCount::indexBoardCountY(), osl::eval::ml::PtypeCount::indexCount(), osl::eval::ml::PtypeCount::indexCountX(), osl::eval::ml::PtypeCount::indexCountY(), osl::effect_util::Neighboring8Effect::Table::init(), osl::effect_util::Neighboring8Direct::Table::init(), osl::move_generator::addeffect8::AddEffect8Table::initDropPosition(), osl::move_generator::addeffect8::AddEffect8Table::initLongDropPosition(), osl::state::SimpleState::isAlmostValidMove(), osl::effect_util::UnblockableCheck::isMember(), osl::move_classifier::KingOpenMove< P >::isMemberMain(), osl::effect::Liberty8Table::Liberty8Table(), osl::effect::Liberty8Table::longEffectOf(), osl::rating::EscapePin::match(), osl::annotate::ThreatmateIfMorePieces::match(), osl::record::MiniBoardChar50::MiniBoardChar50(), osl::rating::DropPtype::name(), osl::rating::RelativeKingY::name(), osl::rating::RelativeKingX::name(), osl::rating::PinAttack::name(), osl::rating::PatternLong2::name(), osl::rating::PatternLong::name(), osl::rating::LongTarget2::name(), osl::rating::LongTarget::name(), osl::rating::Pattern::name(), osl::rating::DefenseKing8::name(), osl::rating::AttackKing8::name(), osl::rating::Chase::name(), osl::progress::ml::NewProgress::NewProgress(), osl::effect::AddMaskAction< Liberty, P, T >::operator()(), operator<<(), osl::apply_move::ApplyDoUndoDropMove< P, state::SimpleState >::prologue(), osl::checkmate::ProofNumberTable::ProofNumberTable(), osl::search::AlphaBeta3::quiesce(), osl::search::AlphaBeta3::quiesceRoot(), osl::effect::setBetweenMask(), osl::eval::ml::PieceStandY::setUp(), osl::eval::ml::PtypeCountXYAttack::setUp(), osl::eval::ml::PtypeCountXY::setUp(), show(), osl::record::ki2::show(), osl::record::csa::show(), osl::record::csa::strToPtype(), osl::effect_util::SendOffPosition::Table::Table(), osl::progress::ml::NewProgress::updateMain(), osl::search::StateElements::validCaptureMove(), と osl::search::StateElements::validSimpleMove().

const PtypeO osl::PTYPEO_EDGE = newPtypeO(WHITE,PTYPE_EDGE)
const PtypeO osl::PTYPEO_EMPTY = newPtypeO(BLACK,PTYPE_EMPTY)
const int osl::PTYPEO_SIZE = PTYPEO_MAX-PTYPEO_MIN+1
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:57:47 2010に生成されました。  doxygen 1.6.3