MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ add_grammar_rule()

void MayaFlux::Yantra::GrammarAwareComputeMatrix::add_grammar_rule ( ComputationGrammar::Rule  rule)
inline

Add a grammar rule directly to the matrix.

Parameters
ruleRule to add to the grammar

Convenience method to add rules directly to the matrix's grammar without needing to access the grammar instance separately. Useful for quick rule addition during matrix configuration.

Definition at line 524 of file ComputePipeline.hpp.

525 {
526 m_grammar->add_rule(std::move(rule));
527 }
std::shared_ptr< ComputationGrammar > m_grammar
Grammar instance for rule-based operation selection.