mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-01 22:25:42 +03:00
Introduce custom adjacency-list based graph
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
#include <stack>
|
||||
#include <cassert>
|
||||
|
||||
#include <boost/graph/adjacency_list.hpp>
|
||||
#include <boost/range/adaptor/map.hpp>
|
||||
|
||||
using namespace std;
|
||||
@@ -981,7 +982,7 @@ unique_ptr<NGHolder> makeHolder(const CastleProto &proto,
|
||||
addToHolder(*g, m.first, m.second);
|
||||
}
|
||||
|
||||
//dumpGraph("castle_holder.dot", g->g);
|
||||
//dumpGraph("castle_holder.dot", *g);
|
||||
|
||||
// Sanity checks.
|
||||
assert(allMatchStatesHaveReports(*g));
|
||||
|
||||
Reference in New Issue
Block a user