Storm 1.11.1.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
9// Include the C++-interface of CUDD.
10#include "cuddObj.hh"
11
12namespace storm {
13namespace dd {
14
15struct CuddPointerPairHash {
16 std::size_t operator()(std::pair<DdNode const*, DdNode const*> const& pair) const {
17 std::hash<DdNode const*> hasher;
18 std::size_t seed = hasher(pair.first);
19 boost::hash_combine(seed, hasher(pair.second));
20 return seed;
21 }
22};
23
24} // namespace dd
25} // namespace storm
26#endif