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

◆ GrammarAwareComputeMatrix()

MayaFlux::Yantra::GrammarAwareComputeMatrix::GrammarAwareComputeMatrix ( std::shared_ptr< ComputationGrammar grammar = nullptr)
inlineexplicit

Constructor with optional grammar.

Parameters
grammarShared pointer to ComputationGrammar instance (creates new if nullptr)

Creates a grammar-aware compute matrix with the specified grammar instance. If no grammar is provided, creates a new empty grammar that can be populated with rules later.

Definition at line 449 of file ComputePipeline.hpp.

450 : m_grammar(grammar ? std::move(grammar) : std::make_shared<ComputationGrammar>())
451 {
452 }
std::shared_ptr< ComputationGrammar > m_grammar
Grammar instance for rule-based operation selection.