GoComponents

Name

GoComponents -- calculate the connected components of the game graph

Synopsis


#include <go-components.h>


struct      GoComponents;
GtkObject*  go_components_new               (GoData *data);
gboolean    go_components_geq               (GoComponents *self,
                                             const GoPlayer *a,
                                             const GoPlayer *b);
gboolean    go_components_equivalent        (GoComponents *self,
                                             const GoPlayer *a,
                                             const GoPlayer *b);
int         go_components_index             (GoComponents *self,
                                             const GoPlayer *p);
gboolean    go_components_direct_geq        (GoComponents *self,
                                             GoPlayer *a,
                                             GoPlayer *b);
void        go_components_dump              (GoComponents *self);

Object Hierarchy


  GtkObject
   +----GoClient
         +----GoComponents

Description

The GoComponents objects are used to keep track of the connected components of the game graph. Two players are connected in this graph, if the difference of their go-playing strengths may be estimated.

Objects of this class are automatically generated by GoData objects. You should not need to use objects of this class directly.

Details

struct GoComponents

struct GoComponents;


go_components_new ()

GtkObject*  go_components_new               (GoData *data);

Allocate a new GoComponents object and connect it to data.

data : a GoData object
Returns : the new object.


go_components_geq ()

gboolean    go_components_geq               (GoComponents *self,
                                             const GoPlayer *a,
                                             const GoPlayer *b);

self : 
a : 
b : 
Returns : 


go_components_equivalent ()

gboolean    go_components_equivalent        (GoComponents *self,
                                             const GoPlayer *a,
                                             const GoPlayer *b);

self : 
a : 
b : 
Returns : 


go_components_index ()

int         go_components_index             (GoComponents *self,
                                             const GoPlayer *p);

self : 
p : 
Returns : 


go_components_direct_geq ()

gboolean    go_components_direct_geq        (GoComponents *self,
                                             GoPlayer *a,
                                             GoPlayer *b);

self : 
a : 
b : 
Returns : 


go_components_dump ()

void        go_components_dump              (GoComponents *self);

self : 

See Also

GoData