All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.alloyggp.tournament.api.TRanking Maven / Gradle / Ivy

package net.alloyggp.tournament.api;

import java.util.List;
import java.util.SortedSet;

public interface TRanking {
    /**
     * Returns the players with their corresponding scores for
     * the point in the tournament that this ranking represents.
     * It is guaranteed that no two players' scores will be the
     * same (though this may be due solely to differences in the
     * initial seeding).
     */
    SortedSet getScores();

    /**
     * Returns the players in the order of the current ranking,
     * with the best-performing player in the 0 index.
     */
    List getPlayersBestFirst();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy