| 1 | initial version |
Here is a tentative
def filtre_iso(liste_posets):
from collections import defaultdict
table = defaultdict(list)
for po in liste_posets:
dp = po.degree_polynomial()
connus = table[dp]
if not any(q.is_isomorphic(po) for q in connus):
table[dp].append(po)
return table
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.