BimmerBass / Loki

C++17 chess engine
GNU General Public License v3.0
9 stars 2 forks source link

Eval restructure #32

Closed BimmerBass closed 3 years ago

BimmerBass commented 3 years ago

Surround the evaluation function with a class. This way we can easily implement 1) An evaluation hash table that isn't separate from the evaluation function itself, and 2) Implement evaluation term tracing using a templated version of the Evaluate class. Additionally, the evaluation has been made way more readable.