APRlib

TraversalBase Members

TraversalBase overview

Public Static Properties

Version The version string for this version of the AP Library.

Public Static Methods

ComputeOverloaded. Compute the traversal determined by an encapsulated strategy and a class graph. @throws TraversalException if the resulting traversal graph is empty.
GetEdgeKey A unique identifying string for the given edge. Useful for hashing.

Public Instance Properties

ClassGraph The class graph used in computing this traversal.
EdgeSetList An unmodifiable list of EdgeSet objects representing the edges in the traversal.
FinishSet An unmodifiable List of NodeSet objects representing the finish set of the traversal (Tf).
NodeSetList An unmodifiable list of NodeSet objects representing the nodes in the traversal.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
getAlternationEdgeSet The set of copies of class graph alternation edge u
=>
v in the traversal, or null if there are none. Note that u and v may be either nodes or their string representations.
getConstructionEdgeSet The set of copies of class graph construction edge u
-l->
v in the traversal, or null if there are none. Note that u and v may be either nodes or their string representations.
getEdgeSetOverloaded. The set of copies of class graph edge e in the traversal graph, or null if there are none.
getFinishSet A NodeSet representing the finish set of tokens (indices) for the class graph node v, or null if v has no finish tokens in the traversal.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
getInheritanceEdgeSet The set of copies of class graph inheritance edge u
:>
v in the traversal, or null if there are none. Note that u and v may be either nodes or their string representations.
GetNodeSet 
getStartSetOverloaded. A NodeSet representing the start set of tokens (indices) for the class graph node v, or null if v has no start tokens in the traversal.
GetType (inherited from Object)Gets the Type of the current instance.
intersect The intersection of this traversal with another traversal, that is, the set of paths that are in both traversals.
toCompactString A string representation of the nodes and edges in the traversal.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

classGraph 

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Constructors

TraversalBase Constructor

See Also

TraversalBase Class | edu.neu.ccs.demeter.APRlib Namespace