libkombilo  0.7
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.

Data Fields

int counter
char * signature
boost::unordered_multimap
< string, int > 
data

Detailed Description

This algorithm computes the symmetrized Dyer signature of each game.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables