osl::Centering3x3 Struct Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Static Public Member Functions | Static Public Attributes | List of all members
osl::Centering3x3 Struct Reference

3x3が盤上におさまるように中心を調整 More...

`#include <centering3x3.h>`

Collaboration diagram for osl::Centering3x3:
[legend]

## Classes
struct | Table

## Static Public Member Functions
static const Square | adjustCenterNaive (Square)
static const Square | adjustCenter (Square src)

## Static Public Attributes
static const Table | table

## Detailed Description

3x3が盤上におさまるように中心を調整

Definition at line 14 of file centering3x3.h.

## Member Function Documentation

static const Square osl::Centering3x3::adjustCenter | ( | Square | src) |  |
| inlinestatic

Definition at line 23 of file centering3x3.h.

References osl::Centering3x3::Table::centers, osl::Square::index(), and table.

Referenced by osl::move_generator::AddEffect8Defense< P >::generate(), osl::move_generator::CaptureEffectToAroundKing8< P >::generate(), and osl::checkmate::DualDfpn::OraclePool::makeKey().

const osl::Square osl::Centering3x3::adjustCenterNaive | ( | Square | src) |  |
| static

Definition at line 33 of file centering3x3.cc.

References osl::Square::x(), and osl::Square::y().

Referenced by osl::Centering3x3::Table::Table().

## Member Data Documentation

const Centering3x3::Table osl::Centering3x3::table
| static

Definition at line 22 of file centering3x3.h.

Referenced by adjustCenter().

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

- centering3x3.h
- centering3x3.cc
- tables.cc