MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

graphlite/src/plan/pattern_optimization/pattern_analysis.rs:136–142  ·  view source on GitHub ↗

ROADMAP v0.4.0 - Advanced pattern optimization with connectivity analysis

(patterns: Vec<PathPattern>)

Source from the content-addressed store, hash-verified

134 /// Create a new pattern connectivity analysis
135 #[allow(dead_code)] // ROADMAP v0.4.0 - Advanced pattern optimization with connectivity analysis
136 pub fn new(patterns: Vec<PathPattern>) -> Self {
137 PatternConnectivity {
138 patterns,
139 shared_variables: HashMap::new(),
140 connectivity_graph: Graph::new(),
141 }
142 }
143
144 /// Check if patterns have any shared variables
145 #[allow(dead_code)] // ROADMAP v0.4.0 - Pattern connectivity detection for join optimization

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected