net.alloyggp.tournament.api.TScore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ggp-tournament Show documentation
Show all versions of ggp-tournament Show documentation
A library for GGP tournament specification and scheduling.
package net.alloyggp.tournament.api;
import javax.annotation.concurrent.Immutable;
/**
* Represents a player's aggregate score at some point in the tournament.
* This is used to turn match results into {@link TRanking}s.
* The implementation may contain details for scoring that differ
* by tournament format, and so is private.
*/
@Immutable
public interface TScore extends Comparable {
/**
* Returns a human-readable description of the score that explains
* the player's current position in the ranking.
*/
String getDescription();
}