Changes between Initial Version and Version 8 of Ticket #15322


Ignore:
Timestamp:
Oct 26, 2013, 9:01:20 PM (9 years ago)
Author:
Darij Grinberg
Comment:

Hi Nathann,

done. I've also done the same to the order ideal checks. Positive review then?

Best regards,
Darij

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15322

    • Property Status changed from new to needs_review
    • Property Cc Nicolas M. Thiéry added
  • Ticket #15322 – Description

    initial v8  
    11`sage/combinat/posets.py` currently has an `is_chain` method testing whether a poset is a chain, but there is no method to test if a subset of a poset is a chain; moreover, no comparable functionality for antichains exists. The present patch implements this functionality. Chain testing is implemented twice, once for finite and once for arbitrary posets.
     2
     3Apply:
     4* [attachment:trac_15322-chains-and-antichains-dg.patch​]
     5* [attachment:trac_15322-some-edits-dg.patch]