Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Hash.h
Go to the documentation of this file.
1
#ifndef STORM_UTILITY_HASH_H_
2
#define STORM_UTILITY_HASH_H_
3
4
#include <boost/functional/hash.hpp>
5
#include <functional>
6
#include <vector>
7
8
namespace
storm
{
9
namespace
utility {
10
11
template
<
class
T>
12
class
Hash
{
13
public
:
14
static
std::size_t
getHash
(std::vector<T>
const
& target) {
15
return
boost::hash_range(target.begin(), target.end());
16
}
17
18
private
:
19
Hash
() {}
20
~Hash() {}
21
};
22
23
}
// namespace utility
24
}
// namespace storm
25
26
#endif
// STORM_UTILITY_HASH_H_
storm::utility::Hash
Definition
Hash.h:12
storm::utility::Hash::getHash
static std::size_t getHash(std::vector< T > const &target)
Definition
Hash.h:14
storm
LabParser.cpp.
Definition
cli.cpp:18
src
storm
utility
Hash.h
Generated by
1.9.8