Changes

Jump to: navigation, search

Calculon

489 bytes added, 11:06, 24 February 2020
no edit summary
'''[[Main Page|Home]] * [[Engines]] * Calculon'''
[[FILE:Calculon.jpg|border|right|thumb|200px|link=https://fi.wikipedia.org/wiki/Tiedosto:Calculon.jpg| Calculon <ref>[https://fi.wikipedia.org/wiki/Calculon Calculon – Wikipedia.fi], crated created by [https://en.wikipedia.org/wiki/Matt_Groening Matt Groening]</ref> ]]
'''Calculon''',<br/>
=getPiece=
Calculon's ''getPiece'' routine to get a the [[Pieces#PieceTypeCoding|piece code]] of a square (the least significant one-bit of the passed bitboard pos, typically single populated)
from the six [[Bitboard Board-Definition#SixTwo|six piece bitboards]] of its [[Board Representation|board representation]] is an idiosyncratic sample in avoiding emphasizes a central [[Bitboards#getPiece|bitboard weakness]],and the cause to keep a redundant [[8x8 BoardMailbox|8x8 mailbox]] boardrepresentation with some additional [[Incremental Updates|update]] costs during [[Make Move|make]] as well in /[[Avoiding BranchesUnmake Move|avoiding branchesunmake]].
Taking the [[General Setwise Operations#Union|union]] (val) of six piece-specific [[General Setwise Operations#Rotate|rotates]] (left by 1..6) of six piece disjoint [[General Setwise Operations#Intersection|intersections]]
for the absolute difference of the [[BitScan#TrailingZeroCount|trailing zero counts]] of that union and the passed square bitboard (pos) elegantly [[Avoiding Branches|avoids some branches]],but is a bit too much calculation for that purpose <ref>[https://github.com/BarrySW19/CalculonX/blob/master/src/main/java/barrysw19/calculon/engine/BitBoard.java#L418 CalculonX/BitBoard.java at master · BarrySW19/CalculonX · GitHub]</ref>.
<pre>
public class BitBoard { // Position object
}
</pre>
=Forum Posts=
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=51265 Calculon - UCI Java Chess Engine by Barry Smith] by [[Norbert Raimund Leisner]], [[CCC]], February 13, 2014
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=51288 Calculon at work this morning !] by Sylwy, [[CCC]], February 15, 2014
 
=External Links=
==Chess Engine==

Navigation menu