Opened 10 years ago

Last modified 8 years ago

#13236 needs_work enhancement

Elements of a specific rank of a ranked poset — at Version 2

Reported by: numata Owned by: tbd
Priority: major Milestone: sage-6.4
Component: combinatorics Keywords: poset, combinatorics, sd40
Cc: sage-combinat Merged in:
Authors: NUMATA, Yasuhide Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by numata)

For a ranked poset P and its rank function r. Implement the following:

  1. method which returns iterator of elements p in P such that r(p)=k.
  2. method which returns the list of elements p in P such that r(p)=k.

(Temporary names of them are elements_of_the_rank_iterator and elements_of_the_rank)

Change History (3)

comment:1 Changed 10 years ago by nthiery

For whatever it's worth: you might want to use sage.misc.misc.fibers (in the Sage-Combinat queue), applied to the rank function, for a quick implementation.

comment:2 Changed 10 years ago by numata

  • Description modified (diff)
  • Status changed from new to needs_review
Note: See TracTickets for help on using tickets.