edu.mit.sketch.ddg
Class BinaryRelationshipConstraint

java.lang.Object
  extended by edu.mit.sketch.ddg.Constraint
      extended by edu.mit.sketch.ddg.BinaryRelationshipConstraint
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AngleConstraint, LengthConstraint, PositionConstraint, SizeConstraint, SkeletonConstraint

public abstract class BinaryRelationshipConstraint
extends Constraint
implements java.io.Serializable

This class represents binary relationships between lines, ellipses, and groups. The class is abstaract. The subclasses should implement different types of property constraints.

BinaryRelationshipConstraint.java Created: Fri Oct 25 17:00:00 2002

Author:
Olya Veselova
See Also:
Serialized Form

Constructor Summary
BinaryRelationshipConstraint()
           
 
Method Summary
abstract  java.lang.Object clone()
          Clone the constraint
abstract  java.lang.String name()
          Name of the constraint type.
abstract  boolean orientationInvariant()
          Returns true if the constraint is orinetation invariant
 
Methods inherited from class edu.mit.sketch.ddg.Constraint
constraintGraph, labelledEdgeList, mergeIn, print, removeLowConfidence, removeLowRelevance, renamePrimitives, sameAs, setConstraintGraph, subgraph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryRelationshipConstraint

public BinaryRelationshipConstraint()
Method Detail

name

public abstract java.lang.String name()
Name of the constraint type.

Specified by:
name in class Constraint

clone

public abstract java.lang.Object clone()
Clone the constraint

Specified by:
clone in class Constraint

orientationInvariant

public abstract boolean orientationInvariant()
Returns true if the constraint is orinetation invariant

Specified by:
orientationInvariant in class Constraint