* Return the size of the fragment demarcated by the specified * alignments. */
| 128 | * alignments. |
| 129 | */ |
| 130 | static int |
| 131 | fragmentSize(const Alignment& a0, const Alignment& a1) |
| 132 | { |
| 133 | assert(a0.contig == a1.contig); |
| 134 | assert(a0.isRC != a1.isRC); |
| 135 | const Alignment& f = a0.isRC ? a1 : a0; |
| 136 | const Alignment& r = a0.isRC ? a0 : a1; |
| 137 | return r - f; |
| 138 | } |
| 139 | |
| 140 | typedef pair<ContigNode, DistanceEst> Estimate; |
| 141 | typedef vector<Estimate> Estimates; |
no outgoing calls
no test coverage detected