Documentation of 'jsci.maths.categories.Preorder' Java class
Preorder
jsci.maths.categories

Class Preorder

  • All Implemented Interfaces:
    Category


    public final class Preorder
    extends java.lang.Object
    implements Category
    The Preorder class encapsulates preorders as categories.
    • Constructor Detail

      • Preorder

        public Preorder(int n)
        Constructs a preorder category.
    • Method Detail

      • identity

        public Category.Morphism identity(java.lang.Object a)
        Returns the identity morphism for an object.
        Specified by:
        identity in interface Category
        Parameters:
        a - an Integer.
      • cardinality

        public java.lang.Object cardinality(java.lang.Object a)
        Returns the cardinality of an object.
        Specified by:
        cardinality in interface Category
        Parameters:
        a - an Integer.
        Returns:
        an Integer.
      • hom

        public Category.HomSet hom(java.lang.Object a,
                                   java.lang.Object b)
        Returns a hom-set.
        Specified by:
        hom in interface Category
      • initial

        public java.lang.Object initial()
      • terminal

        public java.lang.Object terminal()
      • ordinal

        public int ordinal()
        Returns the ordinal that this category represents.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.