ratingfile

package
v0.0.0-...-ba805e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(r io.Reader) (map[string]*Universe, error)

func WriteRatings

func WriteRatings(w io.Writer, prefix string, m map[string]glicko2.Rating) error

Types

type Universe

type Universe struct {
	Name             string
	Ratings          map[string]glicko2.Rating
	RatingTimestamps map[string]int64

	MatchTimestamps []int64
	Matches         []glicko2.Match

	MaxTimestamp int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL