[][src]Function sp_phragmen::is_score_better

pub fn is_score_better(this: PhragmenScore, that: PhragmenScore) -> bool

Compares two sets of phragmen scores based on desirability and returns true if that is better than this.

Evaluation is done in a lexicographic manner.

Note that the third component should be minimized.