Implementation of specialized decision trees in C++ for complex computational tasks