UCT book -> tbook (tree book), added short explanation to HACKING
[pachi/derm.git] / uct / plugins.h
blob85381aa57289edf400251634b2a503371536ecbc
1 #ifndef ZZGO_UCT_PLUGINS_H
2 #define ZZGO_UCT_PLUGINS_H
4 struct tree_node;
5 struct board;
6 struct prior_map;
9 /* The pluginset structure of current UCT context. */
10 struct uct_pluginset;
11 struct uct_pluginset *pluginset_init(struct board *b);
12 void pluginset_done(struct uct_pluginset *ps);
14 /* Load a new plugin with DLL at path, passed arguments in args. */
15 void plugin_load(struct uct_pluginset *ps, char *path, char *args);
17 /* Query plugins for priors of a node's leaves. */
18 void plugin_prior(struct uct_pluginset *ps, struct tree_node *node, struct prior_map *map, int eqex);
20 #endif