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

Class OT.Representation

java.lang.Object
   |
   +----OT.Representation

public class Representation
extends Object
Representation.
Version:
1999-03-12
Author:
Andrea Heiberg, University of Arizona

Variable Index

 o debug
 o featureTokenImPrecedence
 o featureTypeSet
 o floatingFeatures
 o footAssociations
 o footNodes
 o gloss
 o isOptimal
 o languageFeatureTypeSet
 o moraAssociations
 o moraNodes
 o operationsTried
 o orderedFeatureTokens
 o orderedRoots
 o prwdAssociations
 o prwdNodes
 o rootAssociations
 o rootNodes
 o syllableAssociations
 o syllableNodes

Constructor Index

 o Representation(Debug, LanguageFeatureTypeSet)

Method Index

 o add(Association)
Adds association to the appropriate set of associations.
 o add(Node)
Adds node to the appropriate set of nodes.
 o adjacent(Feature, Feature)
Returns true if f and g are adjacent, false otherwise.
 o anchorAdjacent(Anchor, Anchor)
Returns true if a1 and a2 are adjacent, false otherwise.
 o assignCoordinates(int, int, int, int)
Assign drawing coordinates to this representation.
 o contains(Feature)
Returns true if this Representation contains feature, returns false otherwise.
 o copy()
Returns a copy of this Representation.
 o equals(Representation)
 o floats(Feature)
Returns true if feature is in the set of floating features, false otherwise.
 o gapped(Operation)
Returns true is Representation is gapped with respect to Operation.feature, false otherwise.
 o getAnchors(String)
 o getAssociation(Association)
Returns a handle to the actual Association with the same variables as a, or null if there is no such Association.
 o getAssociations(Node)
 o getFeatureNodes(FeatureType)
 o getKey()
 o getNode(Node)
 o getOrderedAnchors(String)
Returns an ordered list of anchors.
 o getViolations(Constraint)
Returns the number of violations of constraint by this Representation.
 o ocp(Feature)
 o parseRawData(Vector)
Parse "raw" data into sets of phonological objects and relations.
 o path(Node, Node)
path(ancestor,descendant) is true if a.
 o printConstraintsViolations(Hierarchy)
 o printViolations(Hierarchy)
 o putViolations(Constraint, Integer)
Add a constraint-violation count pair to the set.
 o remove(Association)
 o remove(Feature)
 o toOrthography()
 o toString()

Variables

 o rootAssociations
  protected AssociationSet rootAssociations
 o moraAssociations
  protected AssociationSet moraAssociations
 o syllableAssociations
  protected AssociationSet syllableAssociations
 o footAssociations
  protected AssociationSet footAssociations
 o prwdAssociations
  protected AssociationSet prwdAssociations
 o isOptimal
  protected boolean isOptimal
 o debug
  protected Debug debug
 o featureTypeSet
  protected FeatureTypeSet featureTypeSet
 o featureTokenImPrecedence
  protected Hashtable featureTokenImPrecedence
 o languageFeatureTypeSet
  protected LanguageFeatureTypeSet languageFeatureTypeSet
 o floatingFeatures
  protected NodeSet floatingFeatures
 o rootNodes
  protected NodeSet rootNodes
 o moraNodes
  protected NodeSet moraNodes
 o syllableNodes
  protected NodeSet syllableNodes
 o footNodes
  protected NodeSet footNodes
 o prwdNodes
  protected NodeSet prwdNodes
 o gloss
  protected String gloss
 o operationsTried
  protected Vector operationsTried
 o orderedFeatureTokens
  protected Vector orderedFeatureTokens
 o orderedRoots
  protected Vector orderedRoots

Constructors

 o Representation
  public Representation(Debug debug,
                        LanguageFeatureTypeSet languageFeatureTypeSet)

Methods

 o ocp
  public boolean ocp(Feature f)
 o adjacent
  public boolean adjacent(Feature f,
                          Feature g)
Returns true if f and g are adjacent, false otherwise. For ordered features, adjacency is determined by the inherent ordering of the features. For unordered features, adjacency is determined through anchor paths. Unordered floating features are adjacent to all other features.
 o anchorAdjacent
  public boolean anchorAdjacent(Anchor a1,
                                Anchor a2)
Returns true if a1 and a2 are adjacent, false otherwise.
 o floats
  public boolean floats(Feature feature)
Returns true if feature is in the set of floating features, false otherwise.
 o add
  public void add(Association association)
Adds association to the appropriate set of associations.
 o add
  public void add(Node node)
Adds node to the appropriate set of nodes.
 o assignCoordinates
  public void assignCoordinates(int hSpace,
                                int vSpace,
                                int yOffset,
                                int vFeatureSpace)
Assign drawing coordinates to this representation.
 o contains
  public boolean contains(Feature feature)
Returns true if this Representation contains feature, returns false otherwise.
 o copy
  public Representation copy()
Returns a copy of this Representation. (Explicitly copies each object and set of objects.)
 o equals
  public boolean equals(Representation other)
 o gapped
  public boolean gapped(Operation operation)
Returns true is Representation is gapped with respect to Operation.feature, false otherwise.
 o getAnchors
  public NodeSet getAnchors(String s)
 o getAssociation
  public Association getAssociation(Association a)
Returns a handle to the actual Association with the same variables as a, or null if there is no such Association.
 o getAssociations
  public AssociationSet getAssociations(Node n)
 o getFeatureNodes
  public FeatureTokenSet getFeatureNodes(FeatureType featureType)
 o getKey
  public String getKey()
 o getNode
  public Node getNode(Node node)
 o getOrderedAnchors
  public Vector getOrderedAnchors(String anchorType)
Returns an ordered list of anchors. Determine ordering through paths to Root nodes.
 o getViolations
  public Integer getViolations(Constraint constraint)
Returns the number of violations of constraint by this Representation.
 o parseRawData
  public void parseRawData(Vector rawLines)
Parse "raw" data into sets of phonological objects and relations.
 o path
  public boolean path(Node ancestor,
                      Node descendant)
path(ancestor,descendant) is true if a. association(ancestor,descendant) exists or b. association(ancestor, middle) exists and path(middle, descendent) exists
 o printConstraintsViolations
  public String printConstraintsViolations(Hierarchy hierarchy)
 o printViolations
  public String printViolations(Hierarchy hierarchy)
 o putViolations
  public void putViolations(Constraint constraint,
                            Integer violations)
Add a constraint-violation count pair to the set.
 o remove
  public void remove(Association association)
 o remove
  public void remove(Feature feature)
 o toOrthography
  public String toOrthography()
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index