Type Definition cnetworks::locate::Ranking[][src]

pub type Ranking = Vec<(usize, f64)>;
Expand description

The result of running a source-location algorithm on an infected network.

It is a Vec of (suspect index, score) pairs, ordered by the score. The higher the node is positioned, the higher the probability that it is the true information source.