public interface IStanding
IClient
as determined by the current PC2
Scoring Algorithm.
An IStanding
object contains information about the standing (ranking) of one particular
team in the contest.
This documentation describes the current draft of the PC2 API, which is subject to change.
Modifier and Type | Method and Description |
---|---|
IClient |
getClient()
Get the
IClient associated with this IStanding object. |
int |
getNumProblemsSolved()
Get the number of contest problems which the team represented by this
IStanding object
has solved. |
int |
getPenaltyPoints()
Get the total number of penalty points assigned by the currently active PC2 scoring
algorithm to the team represented by this
IClient . |
IProblemDetails[] |
getProblemDetails()
Get the submission and scoring details for each problem.
|
int |
getRank()
Get the current rank position (where 1 represents first place, 2 represents second place, etc.)
assigned to the team represented by this
IClient by the PC2 scoring algorithm. |
IClient getClient()
IClient
associated with this IStanding object.IClient
representing the client to which this
IStanding object applies.int getNumProblemsSolved()
IStanding
object
has solved.IStanding
applies.int getPenaltyPoints()
IClient
.int getRank()
IClient
by the PC2 scoring algorithm.
Note that assignment of rank numbers is a function of the plugin Scoring Algorithm. Since there is no predefined standard for how a scoring algorithm must handle assignment of rankings to teams which are tied, it is possible that this method would return different ranks for teams with the same computed score, or would return the same rank for teams with the same computed score.
IProblemDetails[] getProblemDetails()