[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] Pattern Matcher
> Can we cut the positions with don't care out of the pattern? That is to
> create patterns with holes in it.
Yes, interesting idea.
But it would be the same as "don't care". Identical in fact.
Yes, you can easily define a patterns of any shape and any "don't care"
points.
Simply "hash in" the topology of the pattern. You can use an array of 19 x
19 keys and hash in a key when a point is relevant.
The reason I decided to use symmetric patterns is speed.
Speed is worth a lot.
I decided to use more patterns to achieve the same goal as having more
complex patterns and slower speed.
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/