Function py_raphtory::algorithms::triplet_count
source · pub fn triplet_count(g: &PyGraphView) -> usizeExpand description
Computes the number of both open and closed triplets within a graph
An open triplet, is one where a node has two neighbors, but no edge between them. A closed triplet is one where a node has two neighbors, and an edge between them.