Skip to main content

project_graph

Function project_graph 

Source
pub fn project_graph(dict: &Dictionary, triples: &[(u32, u32, u32)]) -> Graph
Expand description

Project RDF integer triples onto the undirected node graph the pyramid clusters: one node per distinct term (via the dictionary’s unified node space), one unit-weight edge per (subject, object) pair (predicates are ignored for clustering; parallel edges accumulate weight).