Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
utility.h
Go to the documentation of this file.
1#pragma once
2
3#include "storm-config.h"
4
5#ifdef STORM_HAVE_CUDD
6
7#include <boost/functional/hash.hpp>
8
10
11namespace storm {
12namespace dd {
13
14struct CuddPointerPairHash {
15 std::size_t operator()(std::pair<DdNode const*, DdNode const*> const& pair) const {
16 std::hash<DdNode const*> hasher;
17 std::size_t seed = hasher(pair.first);
18 boost::hash_combine(seed, hasher(pair.second));
19 return seed;
20 }
21};
22
23} // namespace dd
24} // namespace storm
25#endif