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

Class OT.CorrespondFeature

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

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

Constructor Index

 o CorrespondFeature(FeatureType)

Method Index

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

Constructors

 o CorrespondFeature
  public CorrespondFeature(FeatureType featureType1)

Methods

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index