summaryrefslogtreecommitdiff
path: root/src/perc_meas.hpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-06-11 00:11:51 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-06-11 00:11:51 -0400
commitf8321b4b89e114dffc02b4741785fdca60f1b31e (patch)
tree93b6d3cc460da63a02849ea1ae5939c1cb7af025 /src/perc_meas.hpp
parent48191298e80e9655a4cd3c8f3bf9010935ddf551 (diff)
downloadfuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.tar.gz
fuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.tar.bz2
fuse_networks-f8321b4b89e114dffc02b4741785fdca60f1b31e.zip
fixed manny of the research tools
Diffstat (limited to 'src/perc_meas.hpp')
-rw-r--r--src/perc_meas.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/perc_meas.hpp b/src/perc_meas.hpp
index e310189..e2357db 100644
--- a/src/perc_meas.hpp
+++ b/src/perc_meas.hpp
@@ -23,26 +23,22 @@ typedef boost::graph_traits<Graph>::vertices_size_type VertexIndex;
class pm : public hooks {
private:
- unsigned p;
unsigned r;
- long double last_thres;
+ current_info last_cur;
Graph G;
std::vector<VertexIndex> rank;
std::vector<Vertex> parent;
boost::disjoint_sets<VertexIndex*, Vertex*> ds;
// measurement storage
- std::vector<uint64_t> sc; // non-spanning cluster size distribution
std::vector<std::vector<uint64_t>> sn; // non-spanning cluster size distribution
- std::vector<std::vector<uint64_t>> sN; // non-spanning cluster size distribution
std::vector<uint64_t> ss; // minimal spanning cluster size distribution
std::vector<uint64_t> sm; // spanning cluster size distribution
std::vector<uint64_t> sl; // final avalanche size distribution
std::vector<std::vector<uint64_t>> sb; // final avalanche size distribution
- std::vector<std::vector<uint64_t>> sB; // final avalanche size distribution
- std::vector<uint64_t> sp;
+ std::vector<uint64_t> sd;
std::vector<uint64_t> sr;
- std::vector<std::vector<uint64_t>> sf; // final avalanche size distribution
+ std::vector<unsigned> sb_tmp;
public:
std::string model_string;