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
8namespace storm {
9namespace utility {
10
11template<class T>
12class 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_
static std::size_t getHash(std::vector< T > const &target)
Definition Hash.h:14
LabParser.cpp.
Definition cli.cpp:18