Skip to main content

LinePatternState

Type Alias LinePatternState 

Source
pub type LinePatternState = Box<[[u16; 4]; 225]>;
Expand description

4 directional 11-cell line pattern mapped IDs per cell. Pattern4 mini의 incremental state cache. 값 ∈ [0, PATTERN_NUM_IDS) (= 0..PATTERN_NUM_IDS): swap-closed mapped ids plus rare bucket. u16에 들어감.

Black-relative storage: 1=black, 2=white로 read_window. side_to_move 변경에 따라 ID 재계산 안 함 (perspective 변환은 NNUE feature 매핑 단계에서 처리).

Aliased Type§

pub struct LinePatternState(/* private fields */);