[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [computer-go] Pattern Matcher



Modulo is a bad idea to use.

Just sequential scan 4 entries and overwrite *always* the one with the
smallest value=movesplayed+depthleft.

Vincent

At 12:18 9-11-2004 -0200, Mark Boon wrote:
>
>
>> -----Original Message-----
>> From: computer-go-bounces@xxxxxxxxxxxxxxxxx
>> [mailto:computer-go-bounces@xxxxxxxxxxxxxxxxx]On Behalf Of Frank de Groot
>> Sent: Tuesday, November 09, 2004 12:15
>> To: computer-go
>> Subject: Re: [computer-go] Pattern Matcher
>>
>>
>
>> Neither do I understand why modulo can't be done with ANDs in case of
>> non-power of 2..
>
>Take modulo 6. Take values like 22, 32 or whatever. What do you AND it with
>to get modulo 6?
>
>>
>> It seems Vincent & I are both n00bies when it comes to programming :)
>>
>Hmmm... well... I never said that so far...
>
>_______________________________________________
>computer-go mailing list
>computer-go@xxxxxxxxxxxxxxxxx
>http://www.computer-go.org/mailman/listinfo/computer-go/
>
>
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/