|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.categories.Preorder
public final class Preorder
The Preorder class encapsulates preorders as categories.
Nested Class Summary | |
---|---|
class |
Preorder.Relation
|
class |
Preorder.RelationSet
|
Nested classes/interfaces inherited from interface JSci.maths.categories.Category |
---|
Category.HomSet, Category.Morphism |
Constructor Summary | |
---|---|
Preorder(int n)
Constructs a preorder category. |
Method Summary | |
---|---|
java.lang.Object |
cardinality(java.lang.Object a)
Returns the cardinality of an object. |
Category.HomSet |
hom(java.lang.Object a,
java.lang.Object b)
Returns a hom-set. |
Category.Morphism |
identity(java.lang.Object a)
Returns the identity morphism for an object. |
java.lang.Object |
initial()
|
int |
ordinal()
Returns the ordinal that this category represents. |
java.lang.Object |
terminal()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Preorder(int n)
Method Detail |
---|
public Category.Morphism identity(java.lang.Object a)
identity
in interface Category
a
- an Integer.public java.lang.Object cardinality(java.lang.Object a)
cardinality
in interface Category
a
- an Integer.
public Category.HomSet hom(java.lang.Object a, java.lang.Object b)
hom
in interface Category
public java.lang.Object initial()
public java.lang.Object terminal()
public int ordinal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |