#pragma once #include #include using json = nlohmann::json; struct ConstantModel : IModel { float c; ConstantModel(const json& params, float defaultVal) : c(defaultVal) {} float evaluate(size_t) override { return c; } };