All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class collage.kernel.Hyperedge

java.lang.Object
   |
   +----collage.kernel.Edge
           |
           +----collage.kernel.Hyperedge

public class Hyperedge
extends Edge
Standard hyperedge class.

This Edge subclass uses a PointSequence to represent the attached points of hyperedges as known from the collage grammar theory.

Version:
09 Apr 1997
Author:
Nils Schwabe

Variable Index

 o ap
The attached points of the hyperedge.

Constructor Index

 o Hyperedge(String)

Method Index

 o clone()
This is supposed to make a deep copy of the Edge.
 o equals(Object)
 o findTrans(PointSequence, TransFinder, boolean)
This implementation of the abstract findTrans method returns the result of finding a transformation that maps the given PointSequence to the attached points of this hyperedge, using the given TransFinder.
 o getAttachedPoints()
 o transform(Transformation)
Transforms the edge with the given transformation.

Variables

 o ap
  protected PointSequence ap
The attached points of the hyperedge.

Constructors

 o Hyperedge
  public Hyperedge(String initLabel)

Methods

 o transform
  public void transform(Transformation t)
Transforms the edge with the given transformation.

Overrides:
transform in class Edge
 o findTrans
  public Transformation findTrans(PointSequence s,
                                  TransFinder finder,
                                  boolean inverse)
This implementation of the abstract findTrans method returns the result of finding a transformation that maps the given PointSequence to the attached points of this hyperedge, using the given TransFinder.

Overrides:
findTrans in class Edge
 o clone
  public Object clone()
This is supposed to make a deep copy of the Edge.

Overrides:
clone in class Edge
 o equals
  public boolean equals(Object obj)
Overrides:
equals in class Object
 o getAttachedPoints
  public PointSequence getAttachedPoints()

All Packages  Class Hierarchy  This Package  Previous  Next  Index