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

Method graph_pagerank

nodedb-client/src/remote/client/dispatch.rs:114–128  ·  view source on GitHub ↗
(
        &self,
        collection: &str,
        personalization: Option<std::collections::HashMap<String, f64>>,
        damping: Option<f64>,
        max_iterations: Option<u32>,
    )

Source from the content-addressed store, hash-verified

112 }
113
114 async fn graph_pagerank(
115 &self,
116 collection: &str,
117 personalization: Option<std::collections::HashMap<String, f64>>,
118 damping: Option<f64>,
119 max_iterations: Option<u32>,
120 ) -> NodeDbResult<Vec<(String, f64)>> {
121 self.graph_pagerank_impl(
122 collection,
123 personalization.as_ref(),
124 damping,
125 max_iterations,
126 )
127 .await
128 }
129
130 async fn graph_shortest_path(
131 &self,

Callers

nothing calls this directly

Calls 2

graph_pagerank_implMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected