public static class OnlineSectProof.CatCmp extends Object implements Comparator<String>
Constructor and Description |
---|
OnlineSectProof.CatCmp(HashMap<String,OnlineSectProof.Counter> countCat,
HashMap<String,OnlineSectProof.Counter> totalCat,
HashMap<String,Integer> worstCaseCat)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(String c1,
String c2)
Higher number of not-sectioned students in the worst case goes first.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public OnlineSectProof.CatCmp(HashMap<String,OnlineSectProof.Counter> countCat, HashMap<String,OnlineSectProof.Counter> totalCat, HashMap<String,Integer> worstCaseCat)
countCat
- table (category, number of sequences of that category)totalCat
- table (category, total number of students that were not
sectioned of a sequence from this category)worstCaseCat
- (category, worst number of students that were not
sectioned of a sequence from this category)Copyright © 2016 UniTime LLC. All Rights Reserved.