![]() |
OpenMS
|
Hash functor for PeptideHit based on sequence and charge. More...
#include <OpenMS/METADATA/PeptideHit.h>
Public Member Functions | |
| std::size_t | operator() (const PeptideHit &hit) const noexcept |
Hash functor for PeptideHit based on sequence and charge.
This hasher computes a portable hash based on the peptide sequence (including modifications) and charge state. This represents the "identity" of a peptide hit for most practical purposes.
Example usage:
|
inlinenoexcept |
References OpenMS::hash_combine(), and OpenMS::hash_int().