Struct bbt::Rating [] [src]

pub struct Rating {
    // some fields omitted
}

Rating represents the skill of a player.

Methods

impl Rating

fn new(mu: f64, sigma: f64) -> Rating

fn mu(&self) -> f64

Returns the estimated skill of the player.

fn sigma(&self) -> f64

Returns the variance on the estimate of the player's skill.

Trait Implementations

impl Default for Rating

fn default() -> Rating

impl PartialOrd for Rating

fn partial_cmp(&self, other: &Rating) -> Option<Ordering>

fn lt(&self, other: &Rhs) -> bool

fn le(&self, other: &Rhs) -> bool

fn gt(&self, other: &Rhs) -> bool

fn ge(&self, other: &Rhs) -> bool

impl Display for Rating

fn fmt(&self, f: &mut Formatter) -> Result

impl Debug for Rating

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Clone for Rating

fn clone(&self) -> Rating

fn clone_from(&mut self, source: &Self)

impl PartialEq for Rating

fn eq(&self, __arg_0: &Rating) -> bool

fn ne(&self, __arg_0: &Rating) -> bool