openjij
Framework for the Ising model and QUBO.
Loading...
Searching...
No Matches
openjij::utility::PairHash Struct Reference

hash class for std::pair More...

#include <pairhash.hpp>

Public Member Functions

template<class T1 , class T2 >
size_t operator() (const std::pair< T1, T2 > &p) const
 generate hash for std::pair
 

Detailed Description

hash class for std::pair

Member Function Documentation

◆ operator()()

template<class T1 , class T2 >
size_t openjij::utility::PairHash::operator() ( const std::pair< T1, T2 > &  p) const
inline

generate hash for std::pair

Parameters
pstd::pair variable
Returns
generated hash

The documentation for this struct was generated from the following file: