comparison python/ppci/codegen/interferencegraph.py @ 366:39bf68bf1891

Fix sample tests and deterministic build
author Windel Bouwman
date Fri, 21 Mar 2014 09:43:01 +0100
parents b00219172a42
children
comparison
equal deleted inserted replaced
365:98ff43cfdd36 366:39bf68bf1891
10 self.color = None 10 self.color = None
11 11
12 def __repr__(self): 12 def __repr__(self):
13 return '{}({})'.format(self.temps, self.color) 13 return '{}({})'.format(self.temps, self.color)
14 14
15 def __gt__(self, other):
16 return str(self.temps) > str(other.temps)
15 17
16 class InterferenceGraph(Graph): 18 class InterferenceGraph(Graph):
17 """ 19 """
18 Interference graph. 20 Interference graph.
19 """ 21 """