libkombilo
0.8
|
#include <algos.h>
Public Member Functions | |
Algorithm (int bsize) | |
virtual void | initialize_process () |
Called by GameList::start_processing. | |
virtual void | newgame_process (int game_id) |
Called when a new game is about to be GameList::process'ed. | |
virtual void | AB_process (int x, int y) |
Called during processing, for each AB SGF tag. | |
virtual void | AW_process (int x, int y) |
Called during processing, for each AW SGF tag. | |
virtual void | AE_process (int x, int y, char removed) |
Called during processing, for each AE SGF tag. | |
virtual void | endOfNode_process () |
Called during processing, after fully processing a node (which might contain several AB , AW tags) | |
virtual void | move_process (Move m) |
Called during processing, for each move (B , W tags) | |
virtual void | pass_process () |
Called during processing, for each pass. | |
virtual void | branchpoint_process () |
Called during processing, for each node where a variation starts. | |
virtual void | endOfVariation_process () |
Called during processing, when reaching the end of variation ("jump back to most recent branchpoint") | |
virtual void | endgame_process (bool commit=true) |
Called during processing, when the end of the game is reached. | |
virtual void | finalize_process () |
Called by GameList::finalize_processing. | |
virtual SnapshotVector | get_data () |
Extract the relevant data from file at Kombilo startup. | |
virtual int | search (PatternList &patternList, GameList &gl, SearchOptions &options) |
pattern search | |
Data Fields | |
int | gid |
store the game id during processing | |
int | boardsize |
board size | |
A base class for all algorithms which defines the methods each algorithm class has to provide.