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.

Project Activity

See All Activity >

Categories

Libraries

License

Boost Software License (BSL1.0)

Follow expression_tree

expression_tree Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of expression_tree!

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2010-11-13