Overview
Utility class for subgraph matching. It accepts a pattern definition and a graph to be matched, and provides the MatchNext API to retrieve matches one at a time.
Header Files to Be Included
1 | #include <ge/fusion/pattern_matcher.h> |
Public Member Functions
explicit PatternMatcher(std::unique_ptr<Pattern> pattern, const GraphPtr &target_graph) [[nodiscard]] std::unique_ptr<MatchResult> MatchNext()
Parent topic: PatternMatcher