icentral_subgraph/
muc_augment.rs

1crate::ix!();
2
3pub trait MucAugment {
4
5    fn muc_augment_no_new(&mut self, 
6        v_n:                 NodeId, 
7        source:              NodeId, 
8        tmp_conn_vertex_map: &ConnVertexMap,
9        scores:              &mut BetweennessScores);
10}
11
12impl MucAugment for SubGraph {
13
14    fn muc_augment_no_new(&mut self, 
15        v_n:                 NodeId, 
16        source:              NodeId, 
17        tmp_conn_vertex_map: &ConnVertexMap,
18        scores:              &mut BetweennessScores)
19    {
20        let parents = self.parents_for_node(v_n);
21
22        for &parent in parents.iter() {
23
24            self.muc_augment_parent_no_new(
25                parent,
26                v_n,
27                source,
28                tmp_conn_vertex_map,
29                scores
30            );
31        }
32    }
33}