Single header, templatized epxression tree. Assign functors to branches and values to leaves, then call evaluate(). Requires C++11's function<T>. Optional multi-threaded evaluation is dependent on header <future>.
Features
- Optional optimization: cache value of constant sub-trees on evaluation or on modification.
- Optional optimization: multithreaded evaluation.
- Embedded Doxygen documentation available on project's web site.
- Tested with VS2008, VS2010, VS 11 Beta, GCC 4.2.1, GCC 4.5.0 and GCC 4.6.3.
Categories
LibrariesLicense
Boost Software License (BSL1.0)Follow expression_tree
Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection
Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of expression_tree!