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

Method name

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

Human-readable name for progress reporting and result column headers.

(&self)

Source from the content-addressed store, hash-verified

58impl GraphAlgorithm {
59 /// Human-readable name for progress reporting and result column headers.
60 pub fn name(&self) -> &'static str {
61 match self {
62 Self::PageRank => "pagerank",
63 Self::Wcc => "wcc",
64 Self::LabelPropagation => "label_propagation",
65 Self::Lcc => "lcc",
66 Self::Sssp => "sssp",
67 Self::Betweenness => "betweenness",
68 Self::Closeness => "closeness",
69 Self::Harmonic => "harmonic",
70 Self::Degree => "degree",
71 Self::Louvain => "louvain",
72 Self::Triangles => "triangles",
73 Self::Diameter => "diameter",
74 Self::KCore => "kcore",
75 }
76 }
77
78 /// Whether this algorithm is iterative (emits progress per iteration).
79 pub fn is_iterative(&self) -> bool {

Callers 2

spawn_core_loopFunction · 0.45
query_named_rowsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected