mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-05 20:12:46 +02:00
23 lines
367 B
C#
23 lines
367 B
C#
![]() |
|
|||
|
namespace Moserware.Skills.Elo
|
|||
|
{
|
|||
|
public class KFactor
|
|||
|
{
|
|||
|
private double _Value;
|
|||
|
|
|||
|
protected KFactor()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public KFactor(double exactKFactor)
|
|||
|
{
|
|||
|
_Value = exactKFactor;
|
|||
|
}
|
|||
|
|
|||
|
public virtual double GetValueForRating(double rating)
|
|||
|
{
|
|||
|
return _Value;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|