MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / louvain_resolution

Method louvain_resolution

nodedb-graph/src/params.rs:205–208  ·  view source on GitHub ↗

Louvain resolution parameter, validated to positive.

(&self)

Source from the content-addressed store, hash-verified

203
204 /// Louvain resolution parameter, validated to positive.
205 pub fn louvain_resolution(&self) -> f64 {
206 let r = self.resolution.unwrap_or(1.0);
207 if r > 0.0 { r } else { 1.0 }
208 }
209
210 /// Personalization vector for Personalized PageRank.
211 ///

Callers 1

runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected