mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-16 09:57:40 +00: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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|