|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
#include <map>#include <memory>#include <stdexcept>#include <string>#include <nlohmann/json.hpp>Go to the source code of this file.
Classes | |
| struct | Strategy< Derived > |
| CRTP base class providing self-registration for strategy types. More... | |
Macros | |
| #define | PPFOREST2_REGISTER_STRATEGY(StrategyBase, name) |
| Auto-registration macro for strategy factories. | |
| #define PPFOREST2_REGISTER_STRATEGY | ( | StrategyBase, | |
| name ) |
Auto-registration macro for strategy factories.
Registers ConcreteStrategy::from_json as the factory for name in the given StrategyBase class.
Usage (inside the concrete strategy struct, after from_json):