Quick links: Examples - Files.
Classes: Hierarchy - Index - List - Members.
Packages: Index - base - jni.

Public Member Functions | Static Public Attributes | List of all members
cogitant.base.GraphEdge Interface Reference

Edge of a Graph. More...

+ Inheritance diagram for cogitant.base.GraphEdge:

Public Member Functions

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

Static Public Attributes

static final int PARENT = -1
 Parent label: from a GraphObject to its parent. More...
 
static final int CHILD = -2
 Child label: from a GraphObject to one of its children. More...
 
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. More...
 

Detailed Description

Edge of a Graph.

Member Function Documentation

◆ end()

GraphObject cogitant.base.GraphEdge.end ( )

End.

Implemented in cogitant.jni.GraphEdge.

◆ isEdge()

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.

◆ label()

int cogitant.base.GraphEdge.label ( )

Label.

Implemented in cogitant.jni.GraphEdge.

Member Data Documentation

◆ CHILD

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

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

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

◆ COREFERENCE

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().

◆ PARENT

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

Parent label: from a GraphObject to its parent.

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