Свойство | Type | Description | |
---|---|---|---|
FilesMasks | ulong[] | ||
MainDiagonal | ulong | ||
MirroredBytes | byte[] | ||
MoveTypes | MoveType[][][][] | ||
NotABFile | ulong | ||
NotAFile | ulong | ||
NotGHFile | ulong | ||
NotHFile | ulong | ||
RankToFileArray | ulong[] | ||
RanksMasks | ulong[] | ||
RealPositions | ulong[] | ||
lsb_64_table | int[] |
Méthode | Description | |
---|---|---|
BitScan ( ulong bb ) : int | ||
BitsCount ( ulong board ) : int | ||
FileMask ( File file ) : ulong | ||
FlipDiagonalA1H8 ( ulong board ) : ulong | ||
FlipDiagonalA8H1 ( ulong board ) : ulong | ||
FlipHorizontal ( ulong board ) : ulong | ||
FlipVertical ( ulong board ) : ulong | ||
FromString ( string s ) : ulong | ||
GenerateMirroredByte ( byte b ) : byte | ||
GenerateRealPositions ( ) : ulong[] | ||
GetEmptyBoardString ( ) : string | ||
GetFileFromRank ( byte rank ) : ulong | ||
GetFileFromSquare ( Square sq ) : File | ||
GetMirroredByte ( byte b ) : byte | ||
GetOneBitNumber ( int rank, int file ) : ulong | ||
GetRankFromAFile ( ulong A_File ) : byte | ||
GetRankFromSquare ( Square sq ) : int | ||
GetSquare ( int rank, int file ) : Square | ||
RankMask ( int rank ) : ulong | ||
Rotate90Clockwise ( ulong board ) : ulong | ||
Rotate90CounterClockwise ( ulong board ) : ulong | ||
RotateLeft ( ulong x, int s ) : ulong | ||
RotateRight ( ulong x, int s ) : ulong | ||
ShiftEastOne ( ulong b ) : ulong | ||
ShiftNorhtWestOne ( ulong b ) : ulong | ||
ShiftNorthEastEast ( ulong b ) : ulong | ||
ShiftNorthEastOne ( ulong b ) : ulong | ||
ShiftNorthNorthEast ( ulong b ) : ulong | ||
ShiftNorthNorthWest ( ulong b ) : ulong | ||
ShiftNorthOne ( ulong b ) : ulong | ||
ShiftNorthWestWest ( ulong b ) : ulong | ||
ShiftSouthEastEast ( ulong b ) : ulong | ||
ShiftSouthEastOne ( ulong b ) : ulong | ||
ShiftSouthOne ( ulong b ) : ulong | ||
ShiftSouthSouthEast ( ulong b ) : ulong | ||
ShiftSouthSouthWest ( ulong b ) : ulong | ||
ShiftSouthWestOne ( ulong b ) : ulong | ||
ShiftSouthWestWest ( ulong b ) : ulong | ||
ShiftWestOne ( ulong b ) : ulong | ||
SplitString ( string str, int chunkSize ) : IEnumerable |
||
SwapNBits ( ulong b, int i, int j, int n ) : ulong | ||
ToString ( ulong board, string separator ) : string |
Méthode | Description | |
---|---|---|
BitBoardHelper ( ) : System | ||
CreateMoveTypes ( ) : MoveType[][][][] | ||
FillAllButPawns ( MoveType moveTypes ) : void | ||
FillPawns ( MoveType moveTypes ) : void | ||
GenerateMoveTypes ( ) : MoveType[][][][] | ||
GetPawnMoveTypes ( Figure destinationFigure ) : MoveType[][] | ||
GetSameMoveTypes ( MoveType type ) : MoveType[][] |
public static BitsCount ( ulong board ) : int | ||
board | ulong | |
Résultat | int |
public static FileMask ( File file ) : ulong | ||
file | File | |
Résultat | ulong |
public static FlipDiagonalA1H8 ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static FlipDiagonalA8H1 ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static FlipHorizontal ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static FlipVertical ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static FromString ( string s ) : ulong | ||
s | string | |
Résultat | ulong |
public static GenerateMirroredByte ( byte b ) : byte | ||
b | byte | |
Résultat | byte |
public static GenerateRealPositions ( ) : ulong[] | ||
Résultat | ulong[] |
public static GetEmptyBoardString ( ) : string | ||
Résultat | string |
public static GetFileFromRank ( byte rank ) : ulong | ||
rank | byte | |
Résultat | ulong |
public static GetFileFromSquare ( Square sq ) : File | ||
sq | Square | |
Résultat | File |
public static GetMirroredByte ( byte b ) : byte | ||
b | byte | |
Résultat | byte |
public static GetOneBitNumber ( int rank, int file ) : ulong | ||
rank | int | |
file | int | |
Résultat | ulong |
public static GetRankFromAFile ( ulong A_File ) : byte | ||
A_File | ulong | |
Résultat | byte |
public static GetRankFromSquare ( Square sq ) : int | ||
sq | Square | |
Résultat | int |
public static GetSquare ( int rank, int file ) : Square | ||
rank | int | |
file | int | |
Résultat | Square |
public static RankMask ( int rank ) : ulong | ||
rank | int | |
Résultat | ulong |
public static Rotate90Clockwise ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static Rotate90CounterClockwise ( ulong board ) : ulong | ||
board | ulong | |
Résultat | ulong |
public static RotateLeft ( ulong x, int s ) : ulong | ||
x | ulong | |
s | int | |
Résultat | ulong |
public static RotateRight ( ulong x, int s ) : ulong | ||
x | ulong | |
s | int | |
Résultat | ulong |
public static ShiftEastOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorhtWestOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthEastEast ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthEastOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthNorthEast ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthNorthWest ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftNorthWestWest ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthEastEast ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthEastOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthSouthEast ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthSouthWest ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthWestOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftSouthWestWest ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static ShiftWestOne ( ulong b ) : ulong | ||
b | ulong | |
Résultat | ulong |
public static SplitString ( string str, int chunkSize ) : IEnumerable |
||
str | string | |
chunkSize | int | |
Résultat | IEnumerable |
public static SwapNBits ( ulong b, int i, int j, int n ) : ulong | ||
b | ulong | |
i | int | |
j | int | |
n | int | |
Résultat | ulong |
public static ToString ( ulong board, string separator ) : string | ||
board | ulong | |
separator | string | |
Résultat | string |
public static MoveType[][][][] MoveTypes | ||
Résultat | MoveType[][][][] |