INNER CODE UNIT · C++
pool_entry
torognes/swarm · src/algo.cpp:474
auto & pool_entry = amps_v[cursor.swarmed + i];
pool_entry.diffestimate = static_cast<unsigned int>(diff);
if (diff <= parameters.opt_differences) {
workspace.targetindices[targetcount] = cursor.swarmed + i;
workspace.targetampliconids[targetcount] = pool_entry.ampliconid;
++targetcount;
}
}
}
if (targetcount == 0) { return scanned_pool; }
// the candidate window inside the workspace: the first targetcount
// entries of the target list and of its three result columns
scanner.run(seedampliconid,
workspace.targets(targetcount),
workspace.scores(targetcount),
workspace.diffs(targetcount),