libkombilo  0.8
Public Member Functions | Data Fields | Friends
Continuation Class Reference

Public Member Functions

 Continuation (GameList *gl)
 initializes all member variables with 0
 
 Continuation (const Continuation &c)
 
Continuationoperator= (const Continuation &c)
 
void add (const Continuation c)
 Add values for B, W, tB, tW, wB, lB, wW, lW of c to values of this.
 
int earliest ()
 earliest date when this was played
 
int earliest_B ()
 earliest date when this was played by B
 
int earliest_W ()
 earliest date when this was played by W
 
int latest ()
 latest date when this was played
 
int latest_B ()
 
int latest_W ()
 
float average_date ()
 average date when this was played
 
float average_date_B ()
 
float average_date_W ()
 
int became_popular ()
 date when this move became popular
 
int became_popular_B ()
 
int became_popular_W ()
 
int became_unpopular ()
 date when this move became unpopular
 
int became_unpopular_B ()
 
int became_unpopular_W ()
 
int total ()
 

Data Fields

int x
 x coordinate of corresp. label on board
 
int y
 y coordinate of corresp. label on board
 
int B
 number of all black continuations
 
int W
 number of all white continuations
 
int tB
 number of black tenuki plays
 
int tW
 number of white tenuki plays
 
int wB
 black wins (where next play is B)
 
int lB
 black losses (where next play is B)
 
int wW
 black wins (where next play is W)
 
int lW
 black losses (where next play is W)
 
vector< int > dates_B
 
vector< int > dates_W
 
char label
 
GameListgamelist
 

Friends

class GameList
 

Member Function Documentation

int Continuation::total ( )

All dates are given by year (in the interval between DATE_PROFILE_START and DATE_PROFILE_END).


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