32{
35 "RewriteOperator axiom has {} symbols, exceeding max_word_length {}",
38 }
39
40 if (std::ranges::any_of(config.axiom, [](
const Symbol& symbol) {
41 return symbol.arity > max_symbol_parameters;
42 })) {
44 "RewriteOperator axiom contains a symbol with more than {} parameters",
47 }
48
50 .symbols =
m_valid ? std::move(config.axiom) : std::vector<
Symbol> {},
52 m_draft = m_axiom;
53 m_active_word = m_axiom;
54 m_submitted = Submission { .word = m_axiom, .id = 0 };
55 m_active = Submission { .word = m_axiom, .id = 0 };
56}
#define MF_ERROR(comp, ctx,...)
static constexpr size_t max_symbol_parameters
uint64_t m_max_generations
std::vector< SymbolId > m_ignore
std::shared_ptr< const Word > m_axiom
@ Configuration
Configuration and parameter updates.
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.