Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Random factor in static evaluation!

Author: William H Rogers

Date: 13:49:25 06/15/01

Go up one level in this thread


On June 15, 2001 at 16:41:06, Tiago Ribeiro wrote:

>Why not introduce some random factor in static evaluation?
>
>Example:
>
>srand( time ( 0 ) );
>
>char ten = 7 + rand() % 5;
>char fif = 12 + rand() % 6;
>...
>
>#define DB_P_PENALTY	ten
>#define BAD_BISHOP 	fif
>
>etc.,etc
>
>The same can be made for the value of the pieces!
>
>Just giving a small random margin, the game doesn't lose a significant quality
>and  becomes unexpected, what can be a technique anti-great master! :)
>
>I will try this in 'Replicant'!
>
>
>Tiago Ribeiro

I used to own a couple of programs that did something like that, ie..
if at the end of their evaluation they discovered another move that had the
same rating value as a previous move they then ran a random number and it
decided which one was used, either the first or second.
This in no way states that the function is better, but it does give you a
partial random choice in move selection.

Bill




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.