struct feature: Pack down; 24 bits is enough for payload
[pachi/t.git] / uct / plugins.h
blobb5596775e860cfc2fef6ee0d39050d5007ca0057
1 #ifndef PACHI_UCT_PLUGINS_H
2 #define PACHI_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