There is a bug in the last mail. Here is the correct version.

    RAVEDenominator[move] += weight;
    
    double biased_credit;

    if (credit == 1)
        biased_credit = (double)1 – d * w; //ranged on [1,0.5]
    else if (credit == 0)
        biased_credit = (double)0 + d * w; //ranged on [0,0.5]
    else if (credit == 0.5) //for jigo
        biased_credit = credit;

    RAVENumerator[move] += biased_credit * weigh

Without jigo, seems you don’t need to store credit in floating point. weight 
can be integer.
w is a constant. d is the distance of the move to be updated (0 for the move 
played by this node).

Aja
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to