[Cs5500] Reputation formula
Ahmed Abdelmeged
ahmed.mohsen at gmail.com
Wed Mar 9 10:12:20 EST 2011
Yes.
-- Ahmed
On 2011-03-09, at 8:23 AM, rashmi nayak <rashmin at ccs.neu.edu> wrote:
> Hi Ahmed,
>
> I think there is a small typo in your formula - Should the formula be:
>
> exchangeR = (losR*baseR - losR*winR + losR*losR) / (baseR * 10)
>
> instead of
> exchangeR = (losR*baseR - losR*winR - losR*losR) / (baseR * 10)
>
> Note: + losR*losR not -losR*losR
>
> Thanks,
> Rashmi
>
> On Tue, Mar 8, 2011 at 1:30 PM, Ahmed Abdelmeged <ahmed.mohsen at gmail.com
> > wrote:
> 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
>
> _______________________________________________
> Cs5500 mailing list
> Cs5500 at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/cs5500
>
>
> _______________________________________________
> Cs5500 mailing list
> Cs5500 at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/cs5500
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the Cs5500
mailing list