| 81 | } |
| 82 | |
| 83 | void Graph::putEdge(uint32_t i, uint32_t j) |
| 84 | { |
| 85 | mSuccessors[i].insert(j); |
| 86 | mPredecessors[j].insert(i); |
| 87 | |
| 88 | if (!isDirectedGraph()) { |
| 89 | mSuccessors[j].insert(i); |
| 90 | mPredecessors[i].insert(j); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | std::string Graph::dotify(std::string name) const |
| 95 | { |
no test coverage detected