A vertex of the overlap graph. */
| 146 | |
| 147 | /** A vertex of the overlap graph. */ |
| 148 | struct Vertex |
| 149 | { |
| 150 | unsigned id; |
| 151 | bool sense; |
| 152 | |
| 153 | /** The number of single-end contigs. */ |
| 154 | static unsigned s_offset; |
| 155 | |
| 156 | Vertex(unsigned id, bool sense) |
| 157 | : id(id) |
| 158 | , sense(sense) |
| 159 | {} |
| 160 | |
| 161 | bool operator==(const Vertex& v) const { return id == v.id && sense == v.sense; } |
| 162 | |
| 163 | ContigNode descriptor() const { return ContigNode(s_offset + id, sense); } |
| 164 | }; |
| 165 | |
| 166 | unsigned Vertex::s_offset; |
| 167 |
no outgoing calls
no test coverage detected