|
MalariaSentinel — C++ reference
The contract-defining headers of the ABM engine
|
#include <coordinator.hpp>
Public Member Functions | |
| std::size_t | operator() (const std::pair< int32_t, int32_t > &p) const noexcept |
Hash functor for (row, col) pairs (used by the candidate-patch registry). Packs the two int32s into an int64 then hashes that.
|
inlinenoexcept |
Hash a grid cell (row, col) pair for the candidate-patch registry: packs the two int32 coordinates into one int64 and hashes it.