libkombilo  0.8
Public Member Functions | Data Fields
Algo_signature Class Reference

This algorithm computes the symmetrized Dyer signature of each game. More...

#include <algos.h>

Inheritance diagram for Algo_signature:
Algorithm

Public Member Functions

 Algo_signature (int bsize, SnapshotVector DATA)
 
void initialize_process ()
 Called by GameList::start_processing.
 
void newgame_process (int game_id)
 Called when a new game is about to be GameList::process'ed.
 
void AB_process (int x, int y)
 Called during processing, for each AB SGF tag.
 
void AW_process (int x, int y)
 Called during processing, for each AW SGF tag.
 
void AE_process (int x, int y, char removed)
 Called during processing, for each AE SGF tag.
 
void endOfNode_process ()
 Called during processing, after fully processing a node (which might contain several AB, AW tags)
 
void move_process (Move m)
 Called during processing, for each move (B, W tags)
 
void pass_process ()
 Called during processing, for each pass.
 
void branchpoint_process ()
 Called during processing, for each node where a variation starts.
 
void endOfVariation_process ()
 Called during processing, when reaching the end of variation ("jump back to most recent branchpoint")
 
void endgame_process (bool commit=true)
 Called during processing, when the end of the game is reached.
 
void finalize_process ()
 Called by GameList::finalize_processing.
 
char * get_current_signature ()
 
std::vector< int > search_signature (char *sig)
 
SnapshotVector get_data ()
 Extract the relevant data from file at Kombilo startup.
 
- Public Member Functions inherited from Algorithm
 Algorithm (int bsize)
 
virtual int search (PatternList &patternList, GameList &gl, SearchOptions &options)
 pattern search
 

Data Fields

int counter
 
char * signature
 
boost::unordered_multimap< string, int > data
 
- Data Fields inherited from Algorithm
int gid
 store the game id during processing
 
int boardsize
 board size
 

Detailed Description

This algorithm computes the symmetrized Dyer signature of each game.


The documentation for this class was generated from the following files: