2013/5/18 ds <[email protected]>
> Thanks Aja,
>
> in this case I can't I think. Here I look up the large patterns: I could
> replace it with some kind of hash table, but this is probably not much
> easier to initialize at compile time?
>
By initializing at compile time, I think they just meant something like
CircPattTable[] = { gamma_1, gamma_2, ..., gamma_n };
In C++ 11, seems you can do
map<CircPatt, int> CircPattTable = {{p_1, gamma_1}, {p_2, gamma_2}, ... };
Aja
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go