#include "SgSystem.h"
#include "SgRandom.h"
#include <sstream>
#include <iomanip>
#include "Benzene.hpp"
Go to the source code of this file.
Namespaces | |
namespace | HashUtil |
Utilities on hash values. | |
Defines | |
#define | CHECK_HASH_COLLISION 0 |
Turn on hash collision detection. | |
Functions | |
std::string | HashUtil::toString (hash_t hash) |
Converts a hash value into a hex string. | |
hash_t | HashUtil::RandomHash () |
Returns a random hash value. | |
Variables | |
_BEGIN_BENZENE_NAMESPACE_ typedef uint64_t | hash_t |
64-bit hash value. |
Definition in file Hash.hpp.
#define CHECK_HASH_COLLISION 0 |
_BEGIN_BENZENE_NAMESPACE_ typedef uint64_t hash_t |
64-bit hash value.
Definition at line 21 of file Hash.hpp.
Referenced by HashSet::add(), WolveSearch::AfterStateSearched(), MoHexPlayer::CopyKnowledgeData(), HashSet::exists(), HexUctState::GenerateAllMoves(), StateDB< T >::Get(), HashMap< T >::get(), _BEGIN_BENZENE_NAMESPACE_::GetHash(), SequenceHash::Hash(), DfpnSolver::MID(), StateDB< T >::Put(), HashMap< T >::put(), HashUtil::RandomHash(), and MoHexPlayer::TryReuseSubtree().