heal-research / operon

C++ Large Scale Genetic Programming
https://operongp.readthedocs.io
MIT License
144 stars 26 forks source link

Arithmetic backends #34

Closed foolnotion closed 9 months ago

foolnotion commented 9 months ago

This PR is an important change to the tree evaluation mechanism in Operon, which allows different libraries to be used instead of Eigen.

This brings:

Selection between the backends is done at compile time via the -DMATH_BACKEND option. Valid values are: Eigen, Fastor, Eve, Vdt, Fast_v1, Fast_v2, Fast_v3 (where v1, v2, v3 refers to the precision of the approximation, from least- to most precise)