IsComparableWith: Checking comparability between two elements of a poset.
Description
Checks whether two elements \(a\) and \(b\) of \(V\) are comparable in the input poset \((V,\leq)\).
Usage
IsComparableWith(poset, element1, element2)
Value
A boolean value.
Arguments
poset
An object of S4 class POSet.
Argument poset must be created by using any function contained in the package aimed at building object of S4 class POSet
(e.g. POSet(), LinearPOSet(), ProductPOSet(), ...) .