[Cs5500] Reputation formula

Ahmed Abdelmeged ahmed.mohsen at gmail.com
Tue Mar 8 13:30:10 EST 2011


Looking at this formula in it's non-factored form:
exchangeR = (losR*baseR - losR*winR - losR*losR) / 1000
I'd say that the 1000 is somehow related to that baseR/winR/losR are (of the
order) 100
Probably, what is required is to first divide the denominator by baseR to
bring it down to the order of baseR then divide by 10.
To sum up,
exchangeR = (losR*baseR - losR*winR - losR*losR) / (baseR * 10)

BTW, -(winR - losR) = losR - winR

On Tue, Mar 8, 2011 at 12:02 PM, James Vega <jamessan at ccs.neu.edu> wrote:

> On Tue, Mar 8, 2011 at 11:27 AM, Yue Liu <liu.yue at husky.neu.edu> wrote:
> > Assume avatars will get 100 reputation initially, we need to chage the
> > percentage sign "%" to "/1000".
> > So the formula will be:
> >
> > If winR >= losR,         // winner's Reputation >= loser's Reputation
> > exchangeR = losR*(baseR - (winR - losR))/1000;
> > Else,
> > exchangeR = losR*(baseR + (losR - winR))/1000;
>
> There's no need for two cases here.  The second case will naturally
> happen if winR < losR since (winR - losR) will be a negative number.
> Otherwise, I think the suggested formula does address most of the points
> brought up in class.
>
> _______________________________________________
> Cs5500 mailing list
> Cs5500 at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>



-- 
Ahmed
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Cs5500 mailing list