/** Return the process ID to which the specified kmer belongs. */
int NetworkSequenceCollection::computeNodeID(const Kmer& seq) const
{
	if (opt::numProc < DEDICATE_CONTROL_AT) {
		return seq.getCode() % (unsigned)opt::numProc;
	} else {
		return seq.getCode() % (unsigned)(opt::numProc - 1) + 1;
	}
}
/** Return the process ID to which the specified kmer belongs. */
int NetworkSequenceCollection::computeNodeID(const Kmer& seq) const
{
	return seq.getCode() % (unsigned)opt::numProc;
}