Constituent
object defines a generic edge in a graph. The Constituent
class is designed to be extended. It implements the Comparable
interface in order to allow graphs to be topologically sorted by the ordinary Collection
library in java.util
, keying primarily on right-hand node ID number. The Constituent
class implements most of the functionality of the the Label
interface by passing all requests down to the Label
which might be contained in the Constituent
. This allows one to put a Constituent
anywhere that a Label
is required. A Constituent
is always Scored
.
@author Christopher Manning
|
|
|
|