LSRE 2
Referência à classe LSRE2.Player

Represents a player. Mais...

Membros públicos

 Player (string name)
 Gets a new player with initial scores and a given name. Mais...
 
double ExpectedResult (Player opponent)
 Likelihood that the player would win agasint another. Mais...
 
double EstimateScore (History history, double dx=0.0005)
 Estimate the score of the player given a history and updates it's score. Mais...
 
override string ToString ()
 

Propriedades

string Name [get]
 The name of the player Mais...
 
double Q [get, set]
 e raised to the LSR score. Mais...
 
double LSR [get, set]
 Lanna Skill Rating. Mais...
 
double P0 [get, set]
 Likelihood that the player would win against another player with 0 LSR. Mais...
 
double Elo [get]
 The elo rating. Mais...
 

Descrição detalhada

Represents a player.

Documentação dos Construtores & Destrutor

◆ Player()

LSRE2.Player.Player ( string  name)

Gets a new player with initial scores and a given name.

Parâmetros
nameName for the player.

Documentação dos métodos

◆ EstimateScore()

double LSRE2.Player.EstimateScore ( History  history,
double  dx = 0.0005 
)

Estimate the score of the player given a history and updates it's score.

Parâmetros
historyHistory of matches
dxCalculus resolution
Retorna
The estimated score.

◆ ExpectedResult()

double LSRE2.Player.ExpectedResult ( Player  opponent)

Likelihood that the player would win agasint another.

Parâmetros
opponentAnother
Retorna
Likelihood

Documentação das propriedades

◆ Elo

double LSRE2.Player.Elo
get

The elo rating.

◆ LSR

double LSRE2.Player.LSR
getset

Lanna Skill Rating.

Lanna Skill Rating is an alternative to Elo Skill Rating created by me that uses Euler's base instead of a random and complex multiplication, making calculations easier to make.

The likelihood that a player would win another player is given by 1 / (1 + e^(LSR difference)).

LSR can be written as (Elo - 1500) * ln(10) / 400.

◆ Name

string LSRE2.Player.Name
get

The name of the player

◆ P0

double LSRE2.Player.P0
getset

Likelihood that the player would win against another player with 0 LSR.

◆ Q

double LSRE2.Player.Q
getset

e raised to the LSR score.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: