예제 #1
0
파일: data.py 프로젝트: Antiger2005/mst
 def __cmp__(self, other):
     ret = AbstractResult.__cmp__(self, other)
     if ret != 0:
         return ret
     else:
         return compare_float(self.mst_weight, other.mst_weight)
예제 #2
0
 def __cmp__(self, other):
     ret = AbstractResult.__cmp__(self, other)
     if ret != 0:
         return ret
     else:
         return compare_float(self.mst_weight, other.mst_weight)
예제 #3
0
파일: data.py 프로젝트: Antiger2005/mst
 def __cmp__(self, other):
     ret = AbstractResult.__cmp__(self, other)
     if ret != 0:
         return ret
     else:
         return compare_float(self.time_sec, other.time_sec)
예제 #4
0
 def __cmp__(self, other):
     ret = AbstractResult.__cmp__(self, other)
     if ret != 0:
         return ret
     else:
         return compare_float(self.time_sec, other.time_sec)