Represents a player.
Mais...
|
| 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 () |
|
|
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...
|
|
◆ Player()
LSRE2.Player.Player |
( |
string |
name | ) |
|
Gets a new player with initial scores and a given name.
- Parâmetros
-
◆ 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
-
history | History of matches |
dx | Calculus resolution |
- Retorna
- The estimated score.
◆ ExpectedResult()
double LSRE2.Player.ExpectedResult |
( |
Player |
opponent | ) |
|
Likelihood that the player would win agasint another.
- Parâmetros
-
- Retorna
- Likelihood
◆ Elo
◆ LSR
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
◆ P0
Likelihood that the player would win against another player with 0 LSR.
e raised to the LSR score.
A documentação para esta classe foi gerada a partir do seguinte ficheiro: