#15875: Add is_subposet
-------------------------------------+-------------------------------------
       Reporter:  csar               |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/csar/ticket/15875                |  7ecc981596c8b9b1cc90fe444a81bfe2bc80b4d6
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jmantysalo):

 * cc: ncohen (added)


Comment:

 At least

 {{{
 g1 = DiGraph({13:[14]})
 g2 = DiGraph({13r:[14r]})
 g1.is_subgraph(g2), g2.is_subgraph(g1)
 }}}

 outputs `(True, True)`. Is there examples of `sub*` function with
 different behaviour? If not, then also `is_subposet()` should be like
 `is_subgraph()`. CC to ncohen for this question.

--
Ticket URL: <http://trac.sagemath.org/ticket/15875#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to