summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/graph.hpp3
-rw-r--r--lib/include/network.hpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp
index 9d2b5a1..c78fe9f 100644
--- a/lib/include/graph.hpp
+++ b/lib/include/graph.hpp
@@ -7,6 +7,7 @@
#include <exception>
#include <list>
#include <random>
+#include <string>
#include <unordered_map>
#include <vector>
@@ -46,4 +47,6 @@ public:
void helper(unsigned n, std::mt19937& rng);
graph const rotate();
+
+ std::string write() const;
};
diff --git a/lib/include/network.hpp b/lib/include/network.hpp
index 5b474bb..d562530 100644
--- a/lib/include/network.hpp
+++ b/lib/include/network.hpp
@@ -5,6 +5,7 @@
#include <limits>
#include <random>
#include <set>
+#include <string>
#include <utility>
#include <valarray>
#include <vector>
@@ -66,6 +67,8 @@ public:
current_info empty;
return empty;
};
+
+ std::string write();
};
class fuse_network : public network {