Changes between Version 13 and Version 14 of Ticket #31725


Ignore:
Timestamp:
Apr 25, 2021, 9:56:03 AM (17 months ago)
Author:
Yuan Zhou
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31725 – Description

    v13 v14  
    1 `FinitePoset.meet(x, y=None)` takes input:
    2 
    3 -  ``x, y`` -- two elements of the poset OR
    4 -  ``x`` -- a list or tuple of elements
    5 
    6 Return the meet of given elements in the poset if the meet exists; `None` otherwise.
     1`FinitePoset.meet(x, y)` computes the meet of two elements `x, y` in the poset; return `None` if the meet doesn't exist.
    72
    83Similar for `FinitePoset.join(x, y=None)`.
     
    3429Then, we make the method `FinitePoset.meet(x, y)` (resp. `join(x, y)`) by applying the `_element_to_vertex` and `_vertex_to_element` conversions on `poset._hasse_diagram._meet`.
    3530
    36 This extends the `meet` method current defined on `FiniteMeetSemilattice.meet` to non-semilattice finite poset.
     31This extends `meet` of a pair `x, y` in `FiniteMeetSemilattice` to non-semilattice finite poset.
    3732{{{
    3833sage: P = Poset({"a":["b", "c", "d"], "b":["e", "f"], "c":["f"], "d":["f", "g"]}