Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SequenceHash Namespace Reference

MoveSequence hashing. More...

Functions

hash_t Hash (const PointSequence &seq)
 Hashes a sequence of points.

Detailed Description

MoveSequence hashing.


Function Documentation

hash_t SequenceHash::Hash ( const PointSequence seq  ) 

Hashes a sequence of points.

Hashes a sequence of moves.

Bug:
Currently ignores color of move.

Definition at line 38 of file SequenceHash.cpp.

References hash_t, and HexAssert.

Referenced by WolveSearch::AfterStateSearched(), HexUctState::ComputeKnowledge(), MoHexPlayer::CopyKnowledgeData(), HexUctState::ExecuteTreeMove(), HexUctState::GenerateAllMoves(), WolveSearch::GenerateMoves(), and MoHexPlayer::TryReuseSubtree().


6 Jan 2011 Doxygen 1.6.3