00001 //---------------------------------------------------------------------------- 00002 /** @file SequenceHash.hpp 00003 */ 00004 //---------------------------------------------------------------------------- 00005 00006 #ifndef SEQUENCEHASH_HPP 00007 #define SEQUENCEHASH_HPP 00008 00009 #include "Hex.hpp" 00010 #include "Move.hpp" 00011 00012 _BEGIN_BENZENE_NAMESPACE_ 00013 00014 //---------------------------------------------------------------------------- 00015 00016 /** MoveSequence hashing. */ 00017 namespace SequenceHash 00018 { 00019 /** Hashes a sequence of points. */ 00020 hash_t Hash(const PointSequence& seq); 00021 00022 /** Hashes a sequence of moves. 00023 @bug Currently ignores color of move. 00024 */ 00025 hash_t Hash(const MoveSequence& seq); 00026 } 00027 00028 //---------------------------------------------------------------------------- 00029 00030 _END_BENZENE_NAMESPACE_ 00031 00032 #endif // SEQUENCEHASH_HPP