elif isinstance(equalities, Domain):
if inequalities is not None:
raise TypeError('too many arguments')
- return equalities.polyhedral_hull()
+ return equalities.aspolyhedron()
if equalities is None:
equalities = []
else:
libisl.isl_basic_set_free(islbset)
return universe
- def polyhedral_hull(self):
+ def aspolyhedron(self):
return self
@classmethod
else:
strings = []
for equality in self.equalities:
- strings.append('Eq({}, 0)'.format(equality))
+ strings.append('0 == {}'.format(equality))
for inequality in self.inequalities:
- strings.append('Ge({}, 0)'.format(inequality))
+ strings.append('0 <= {}'.format(inequality))
if len(strings) == 1:
return strings[0]
else: