icentral_graph/
init_internals.rs

1crate::ix!();
2
3impl<GH> InitInternals for Graph<GH> {
4
5    type Error = BetweennessCentralityError;
6
7    fn init_internals(&mut self) 
8    -> Result<(),Self::Error> 
9    {
10        debug!("in {}, initializing graph internals", self.name());
11
12        self.visit_markers.reinit(self.num_nodes());
13
14        // scores.resize(size());
15        self.bc_computed = false;;
16
17        Ok(())
18    }
19}