Class OT.CorrespondAssociation
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class OT.CorrespondAssociation

java.lang.Object
   |
   +----OT.Constraint
           |
           +----OT.Correspond
                   |
                   +----OT.CorrespondAssociation

public class CorrespondAssociation
extends Correspond
Abstract correspondence constraint for associations.
Version:
1999-03-31
Author:
Andrea Heiberg, University of Arizona

Constructor Index

 o CorrespondAssociation(FeatureType)

Method Index

 o evaluate(Representation, Representation)
Returns the number of times that candidate violates this constraint.

Constructors

 o CorrespondAssociation
  public CorrespondAssociation(FeatureType featureType1)

Methods

 o evaluate
  public Integer evaluate(Representation candidate,
                          Representation input)
Returns the number of times that candidate violates this constraint. For each association to a feature of featureType1 in candidate, if that association does not exist in input, increment the violation count.
Overrides:
evaluate in class Constraint

All Packages  Class Hierarchy  This Package  Previous  Next  Index