Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pometry/Raphtory
/ __len__
Method
__len__
raphtory/src/python/algorithm/max_weight_matching.rs:37–39 ·
view source on GitHub ↗
The number of edges in the matching
(&self)
Source
from the content-addressed store, hash-verified
35
impl PyMatching {
36
/// The number of edges in the matching
37
fn __len__(&self) -> usize {
38
self.inner.len()
39
}
40
41
/// Returns True if the matching is not empty
42
fn __bool__(&self) -> bool {
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected