[all packages] [package ] [class hierarchy] [index]

public abstract class Mor

(source file: Mor.java)
java.lang.Object
   |
   +----Printable
           |
           +----Mor

The pure class interface.
public abstract class Mor
  extends Printable
A morphism.

Author:
Alan Jeffrey
Version: v1.0 1998/06/11

Constuctor Index

O Mor()

Variables Index

O cat
The category of the morphism.
O source
The source object of the morphism.
O target
The target object of the morphism.
O unit
The identity morphism I I.

Methods

O comp(Mor)
Compose this morphism with another. (note that if both morphisms are shuffles, then the two
O curry(PremonCat, Obj, Obj)
Curry this morphism.
O graph0(Constraints, Interface)
Construct a graph (without a control line) from the morphism.
O graph1(Constraints, Interface, int)
Construct a graph (with a control line) from the morphism.
O simpleComp(Mor)
Compose this morphism with another. (note that if both morphisms are shuffles, then the two
O tensor(Mor)
Tensor this morphism with another.
O tensorDots(Mor)
Tensor this morphism with another (but when the graph is drawn, draw ellipses between the
O trace(Obj, Obj, Obj)
Trace this morphism.
O uncurry()
Uncurry this morphism.

Constructors

O Mor
public Mor();

Variables

O cat
public PremonCat cat;
The category of the morphism.

O source

public Obj source;
The source object of the morphism.

O target

public Obj target;
The target object of the morphism.

O unit

public static final Mor unit;
The identity morphism I I.

Methods

O graph0
public abstract Graph0 graph0(Constraints C,
                              Interface source);
Construct a graph (without a control line) from the morphism.

O graph1

public Graph1 graph1(Constraints C,
                     Interface source,
                     int control);
Construct a graph (with a control line) from the morphism.

O comp

public Mor comp(Mor f);
Compose this morphism with another. (note that if both morphisms are shuffles, then the two shuffles are composed together, which produces nicer graphs). For example, symm.comp (symm) will draw the identity graph.

Parameters:
f - the morphism to compose with.
Returns:
this;f

O simpleComp

public Mor simpleComp(Mor f);
Compose this morphism with another. (note that if both morphisms are shuffles, then the two shuffles are not composed). For example symm.simpleComp (symm) will draw an XX-shaped graph.

Parameters:
f - the morphism to compose with.
Returns:
this;f

O tensor

public Mor tensor(Mor f);
Tensor this morphism with another.

Parameters:
f - the morphism to tensor with
Returns:
this f

O tensorDots

public Mor tensorDots(Mor f);
Tensor this morphism with another (but when the graph is drawn, draw ellipses between the morphisms).

Parameters:
f - the morphism to tensor with
Returns:
this f

O curry

public Mor curry(PremonCat C,
                 Obj X,
                 Obj Y);
Curry this morphism.

Parameters:
C - the category to curry in (should be a supercategory of this.cat(
X - the source object.
Y - the target object.
Returns:
curry(this).

O trace

public Mor trace(Obj X,
                 Obj Y,
                 Obj Z);
Trace this morphism.

Parameters:
X - the source object of the traced morphism.
Y - the target object of the traced morphism.
Z - the traced object (should be traceable).
Returns:
Tr(this).

O uncurry

public Mor uncurry();
Uncurry this morphism.

Returns:
uncurry(this).


[all packages] [package ] [class hierarchy] [index]
Mor.html