The admittedly arbitrary definition of front attackspans includes the attacked squares itself, thus it is like a fill of attacked squares in the appropriate direction. The rear attackspan is the complement set on the same file, so that the union of both spans covers the whole file. As always, we keep disjoint east-west sets for separate applications, despite illustrated as union with one single pawn:
Set-wise pattern, based on attackspans are for instance isolated pawns, passers and candidates.
The admittedly arbitrary definition of front attackspans includes the attacked squares itself, thus it is like a fill of attacked squares in the appropriate direction. The rear attackspan is the complement set on the same file, so that the union of both spans covers the whole file. As always, we keep disjoint east-west sets for separate applications, despite illustrated as union with one single pawn:
The routines based on one step only, vertical fills and pawn spans :
The filefills are independent on color
What links here?
Up one Level