Show
Ignore:
Timestamp:
03/22/07 22:41:18 (22 months ago)
Author:
ug
Message:

Fixed bug w.r.t. pattern anchors in hash_center search. Further small changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 06/libkombilo-branches/hash_center/search.h

    r242 r243  
    524524 
    525525    void add(unsigned char* c, int l, bool cs, bool do_sort = true); 
    526     void add(int gameid, int pos, char ori, bool cs = false); 
    527     void add(int gameid, int position, bool cs = false); 
    528     char* to_charp(); 
     526    void add(int gameid, int pos, char ori, bool cs = false, bool do_sort = true); 
     527    void add(int gameid, int position, bool cs = false, bool do_sort = true); 
     528    unsigned char* to_charp(); 
    529529    int get_length(); 
    530530}; 
     
    558558    int maxNumStones; 
    559559    std::set<std::pair<hashtype, int> > hash_vector; 
     560    std::map<hashtype, HashCTREntry* > all_hashes; 
    560561    virtual int insert_hash(hashtype hashCod, int pos); 
    561562    int insert_all_hashes();