MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / increase_edge_count

Method increase_edge_count

src/analysis/adg.rs:218–221  ·  view source on GitHub ↗
(&mut self, edge: &EdgeIndex)

Source from the content-addressed store, hash-verified

216 }
217
218 pub fn increase_edge_count(&mut self, edge: &EdgeIndex) {
219 let edge_weight = self.graph.edge_weight_mut(*edge).unwrap();
220 edge_weight.count += 1;
221 }
222
223 /// Visualize this ADG to a Graphviz format file and translate it to PNG.
224 /// verbose_edge: whether dump the edge weights.

Callers 1

add_edgeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected