3,319 research outputs found

    Avoiding Rotated Bitboards with Direct Lookup

    Full text link
    This paper describes an approach for obtaining direct access to the attacked squares of sliding pieces without resorting to rotated bitboards. The technique involves creating four hash tables using the built in hash arrays from an interpreted, high level language. The rank, file, and diagonal occupancy are first isolated by masking the desired portion of the board. The attacked squares are then directly retrieved from the hash tables. Maintaining incrementally updated rotated bitboards becomes unnecessary as does all the updating, mapping and shifting required to access the attacked squares. Finally, rotated bitboard move generation speed is compared with that of the direct hash table lookup method.Comment: 7 pages, 1 figure, 4 listings; replaced test positions, fixed typo

    High-precision evaluation of the Vibrational spectra of long-range molecules

    Full text link
    Vibrational spectra of long-range molecules are determined accurately and to arbitrary accuracy with the Canonical Function Method. The energy levels of the 0g0^-_g and 1u1_u electronic states of the 23Na2^{23}{\rm Na}_2 molecule are determined from the Ground state up to the continuum limit. The method is validated by comparison with previous results obtained by Stwalley et al. using the same potential and Trost et al. whose work is based on the Lennard-Jones potential adapted to long-range molecules.Comment: 19 pages, 5 figures and 6 tables. To be published in the G. Herzberg memorial issue, Can. J. Physics Vol. 79 (2001
    corecore