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

Function shortest_path_depth_limit

nodedb-graph/src/traversal.rs:437–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435
436 #[test]
437 fn shortest_path_depth_limit() {
438 let csr = make_csr();
439 let path = csr.shortest_path("a", "d", Some("KNOWS"), 1, DEFAULT_MAX_VISITED, None);
440 assert!(path.is_none());
441 }
442
443 #[test]
444 fn subgraph_materialization() {

Callers

nothing calls this directly

Calls 2

shortest_pathMethod · 0.80
make_csrFunction · 0.70

Tested by

no test coverage detected