m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/brandes.cc
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-05 00:26:34 -0500
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-01-05 11:52:19 -0500
commit98844eccedfb84fac46c83d59a1298cce491f77b (patch)
tree52e4ab6f472b59c90f0ae34505daabfec5185333 /src/brandes.cc
parent02d18af55aaf50b57b3a57891dac74a9b1a36b60 (diff)
Switch to unordered maps and sets
Diffstat (limited to 'src/brandes.cc')
-rw-r--r--src/brandes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/brandes.cc b/src/brandes.cc
index 776b263..5060a9d 100644
--- a/src/brandes.cc
+++ b/src/brandes.cc
@@ -14,7 +14,7 @@ std::string input_file;
std::string output_file;
Graph graph;
-std::map<int, double> betweenness;
+std::unordered_map<int, double> betweenness;
std::queue<int> vertices_to_process;
std::mutex queue_mutex;
std::mutex betweenness_mutex;