10static
void register_cost_function()
14 C.
pool(
"CostFunctionCout"),
15 std::make_unique<CostFunctionCout>(),
16 "implementation of cost function C_out from Sophie Cluet and Guido Moerkotte"
__attribute__((constructor(202))) static void register_cost_function()
The catalog contains all Databases and keeps track of all meta information of the database system.
ThreadSafePooledString pool(const char *str) const
Creates an internalized copy of the string str by adding it to the internal StringPool.
static Catalog & Get()
Return a reference to the single Catalog instance.
void register_cost_function(ThreadSafePooledString name, std::unique_ptr< CostFunction > CF, const char *description=nullptr)
Registers a new CostFunction with the given name.