SMTStabilizer API
Public API documentation for SMTStabilizer
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1
/***
2
* Bitwuzla: Satisfiability Modulo Theories (SMT) solver.
3
*
4
* Copyright (C) 2023 by the authors listed in the AUTHORS file at
5
* https://github.com/bitwuzla/bitwuzla/blob/main/AUTHORS
6
*
7
* This file is part of Bitwuzla under the MIT license. See COPYING for more
8
* information at https://github.com/bitwuzla/bitwuzla/blob/main/COPYING
9
*/
10
// Modified by Xiang Zhang, 2026
11
// Additional changes licensed under the MIT License
12
#ifndef BZLA_UTIL_HASH_H_INCLUDED
13
#define BZLA_UTIL_HASH_H_INCLUDED
14
15
#include <cstdint>
16
#include <functional>
17
#include <utility>
18
19
namespace
stabilizer::util::hash
{
21
static
constexpr
uint32_t s_hash_primes[] = {333444569u, 76891121u, 456790003u};
23
static
constexpr
uint32_t s_n_primes =
24
((uint32_t)(
sizeof
s_hash_primes /
sizeof
*s_hash_primes));
25
}
// namespace stabilizer::util::hash
26
27
namespace
std
{
28
template
<>
29
struct
hash<
std
::pair<uint64_t, uint64_t>> {
35
size_t
operator()(
const
std::pair<uint64_t, uint64_t> &p)
const
;
36
};
37
}
// namespace std
38
#endif
stabilizer::util::hash
Definition
hash.h:19
std
Definition
hash.h:27
src
util
hash.h
Generated by
1.9.8