| 32 | |
| 33 | template <typename Graph> |
| 34 | void AddGraph(ankerl::unordered_dense::map<NumMwmId, unique_ptr<Graph>> & graphs, NumMwmId mwmId, |
| 35 | unique_ptr<Graph> graph) |
| 36 | { |
| 37 | auto it = graphs.find(mwmId); |
| 38 | CHECK(it == graphs.end(), ("Already contains graph for mwm", mwmId)); |
| 39 | graphs[mwmId] = std::move(graph); |
| 40 | } |
| 41 | |
| 42 | // RestrictionTest --------------------------------------------------------------------------------- |
| 43 | void RestrictionTest::SetStarter(FakeEnding const & start, FakeEnding const & finish) |