Public Member Functions | Static Public Attributes

cogitant.base.GraphEdge Interface Reference

Edge of a Graph. More...

Inheritance diagram for cogitant.base.GraphEdge:

List of all members.

Public Member Functions

int label ()
 Label.
GraphObject end ()
 End.
boolean isEdge ()
 Returns true iff this Edge is a "real" edge.

Static Public Attributes

static final int PARENT = -1
 Parent label: from a GraphObject to its parent.
static final int CHILD = -2
 Child label: from a GraphObject to one of its children.
static final int COREFERENCE = -3
 Coreference label: from a coreference class GraphObject to its concept GraphObjects (and from a concept GraphObject to its coreference class GraphObject.

Detailed Description

Edge of a Graph.


Member Function Documentation

GraphObject cogitant.base.GraphEdge.end ( )

End.

Implemented in cogitant.jni.GraphEdge.

boolean cogitant.base.GraphEdge.isEdge ( )

Returns true iff this Edge is a "real" edge.

A "real" edge is an edge with a label() >= 1.

Implemented in cogitant.jni.GraphEdge.

int cogitant.base.GraphEdge.label ( )

Label.

Implemented in cogitant.jni.GraphEdge.


Member Data Documentation

final int cogitant.base.GraphEdge.CHILD = -2 [static]

Child label: from a GraphObject to one of its children.

Referenced by cogitant.jni.GraphEdge.toString().

final int cogitant.base.GraphEdge.COREFERENCE = -3 [static]

Coreference label: from a coreference class GraphObject to its concept GraphObjects (and from a concept GraphObject to its coreference class GraphObject.

Referenced by cogitant.jni.GraphEdge.toString().

final int cogitant.base.GraphEdge.PARENT = -1 [static]

Parent label: from a GraphObject to its parent.

Referenced by cogitant.jni.GraphEdge.toString().