MCPcopy Create free account
hub / github.com/BirolLab/abyss / Vertex

Class Vertex

PathOverlap/PathOverlap.cpp:148–164  ·  view source on GitHub ↗

A vertex of the overlap graph. */

Source from the content-addressed store, hash-verified

146
147/** A vertex of the overlap graph. */
148struct 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
166unsigned Vertex::s_offset;
167

Callers 2

makeSeedMapFunction · 0.70
findOverlapsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected