Property | 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[] |
Method | 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 |
Method | 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 | |
return | int |
public static FlipDiagonalA1H8 ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static FlipDiagonalA8H1 ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static FlipHorizontal ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static FlipVertical ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static FromString ( string s ) : ulong | ||
s | string | |
return | ulong |
public static GenerateMirroredByte ( byte b ) : byte | ||
b | byte | |
return | byte |
public static GenerateRealPositions ( ) : ulong[] | ||
return | ulong[] |
public static GetEmptyBoardString ( ) : string | ||
return | string |
public static GetFileFromRank ( byte rank ) : ulong | ||
rank | byte | |
return | ulong |
public static GetFileFromSquare ( Square sq ) : File | ||
sq | Square | |
return | File |
public static GetMirroredByte ( byte b ) : byte | ||
b | byte | |
return | byte |
public static GetOneBitNumber ( int rank, int file ) : ulong | ||
rank | int | |
file | int | |
return | ulong |
public static GetRankFromAFile ( ulong A_File ) : byte | ||
A_File | ulong | |
return | byte |
public static GetRankFromSquare ( Square sq ) : int | ||
sq | Square | |
return | int |
public static GetSquare ( int rank, int file ) : Square | ||
rank | int | |
file | int | |
return | Square |
public static Rotate90Clockwise ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static Rotate90CounterClockwise ( ulong board ) : ulong | ||
board | ulong | |
return | ulong |
public static RotateLeft ( ulong x, int s ) : ulong | ||
x | ulong | |
s | int | |
return | ulong |
public static RotateRight ( ulong x, int s ) : ulong | ||
x | ulong | |
s | int | |
return | ulong |
public static ShiftEastOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorhtWestOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthEastEast ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthEastOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthNorthEast ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthNorthWest ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftNorthWestWest ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthEastEast ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthEastOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthSouthEast ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthSouthWest ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthWestOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftSouthWestWest ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static ShiftWestOne ( ulong b ) : ulong | ||
b | ulong | |
return | ulong |
public static SplitString ( string str, int chunkSize ) : IEnumerable |
||
str | string | |
chunkSize | int | |
return | IEnumerable |
public static SwapNBits ( ulong b, int i, int j, int n ) : ulong | ||
b | ulong | |
i | int | |
j | int | |
n | int | |
return | ulong |
public static ToString ( ulong board, string separator ) : string | ||
board | ulong | |
separator | string | |
return | string |
public static MoveType[][][][] MoveTypes | ||
return | MoveType[][][][] |