You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
612 B
23 lines
612 B
package fr.mieuxvoter.mj;
|
|
|
|
|
|
public interface ProposalResultInterface {
|
|
|
|
/**
|
|
* Rank starts at 1 ("best" proposal), and goes upwards.
|
|
* Multiple Proposals may receive the same rank,
|
|
* in the extreme case where they received the exact same judgments,
|
|
* or judgment repartition in normalized tallies.
|
|
*/
|
|
public Integer getRank();
|
|
|
|
/**
|
|
* This score was used to compute the rank.
|
|
* It is made of integer characters, with zeroes for padding.
|
|
* Inverse lexicographical order: "higher" is "better".
|
|
* You're probably never going to need this, but it's here anyway.
|
|
*/
|
|
public String getScore();
|
|
|
|
}
|