Show
Ignore:
Timestamp:
03/02/07 16:16:43 (2 years ago)
Author:
ug
Message:

Basic functions for hashing of center patterns (no search capability yet).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 06/libkombilo-branches/hash_center/cpptest.cpp

    r230 r233  
    1919  // ----------------- set up processing options ----------------------------------- 
    2020  ProcessOptions* p_op = new ProcessOptions; 
    21   p_op->algos = ALGO_FINALPOS | ALGO_MOVELIST
     21  p_op->algos = ALGO_FINALPOS | ALGO_MOVELIST | ALGO_HASH_CENTER
    2222 
    2323  // ----------------- create GameList instance ----------------------------------- 
    24   GameList gl("t1.db", "id", "[[PW]] - [[PB]] ([[winner]]), [[filename.]], ", 0); 
     24  GameList gl("t1.db", "id", "[[PW]] - [[PB]] ([[winner]]), [[filename.]], ", p_op); 
    2525  delete p_op; 
    2626 
     
    2929    gl.start_processing(); 
    3030    directory_iterator end_itr; 
    31     string path = "/home/ug/go/kombilo/06/libkombilo"; 
     31    // string path = "/home/ug/go/kombilo/06/center_hashes/libkombilo"; 
    3232    // string path = "/home/ug/go/gtl/reviews"; 
    33     // string path = "/home/ug/go/gogod06/2000"; 
     33    string path = "/home/ug/go/gogod06/2000"; 
    3434    for(directory_iterator it(path); it != end_itr; ++it) { 
    3535      string n = it->string();