示例#1
0
 public int compareTo(Unit u) {
   return (int) (u.s.fitness() * 100 - s.fitness() * 100);
 }
示例#2
0
 public String toString() {
   return trm + "," + prm + "," + wtm + "," + tkm + "," + ped + "," + s.fitness();
 }