Inheritance diagram for cogitant.jni.Graph:Public Member Functions | |
| Type | objectType () |
| Type of the object. | |
| Collection < cogitant.base.GraphObject > | nodes () |
| Nodes of the graph. | |
| int | size () |
| Size of the graph. | |
| cogitant.base.GraphObject | root () |
| Root of the graph. | |
| cogitant.base.GraphObject | findByIdentifier (String id) |
| Return a node with this identifier. | |
| void | clear () |
| Clear the graph. | |
| void | deleteObjects (cogitant.base.GraphSubset nodes, boolean pendingvertices) |
| void | removeProperty (int prop) |
| Remove the prop property from the GraphObjects of the Graph. | |
| cogitant.base.GraphSubset | newSubset () |
| Create an empty subset of nodes. | |
| void | subsetAddConceptsByIndividualMarkers (cogitant.base.GraphSubset gs, Collection< String > indm, boolean identifiers, cogitant.base.GraphObject parent) |
| void | subsetAddRelationsByNeighbourhood (cogitant.base.GraphSubset gs, cogitant.base.GraphObject parent) |
| String | toString () |
| boolean | equals (Object o) |
Package Functions | |
| Graph (cogitant.jni.Environment environment, int id, int inrule) | |
JNI implementation.
| cogitant.jni.Graph.Graph | ( | cogitant.jni.Environment | environment, |
| int | id, | ||
| int | inrule | ||
| ) | [package] |
References cogitant.jni.EnvironmentObject.environment().
Referenced by cogitant.jni.Graph.equals().
| void cogitant.jni.Graph.clear | ( | ) |
Clear the graph.
After the call, the graph is empty.
Implements cogitant.base.Graph.
References cogitant.jni.EnvironmentObject.lock(), and cogitant.jni.EnvironmentObject.unlock().
| void cogitant.jni.Graph.deleteObjects | ( | cogitant.base.GraphSubset | nodes, |
| boolean | pendingvertices | ||
| ) |
| boolean cogitant.jni.Graph.equals | ( | Object | o | ) |
Reimplemented from cogitant.jni.EnvironmentObject.
References cogitant.jni.Graph.Graph().
| cogitant.base.GraphObject cogitant.jni.Graph.findByIdentifier | ( | String | id | ) |
Return a node with this identifier.
| id | an identifier (from a file). |
Implements cogitant.base.Graph.
| cogitant.base.GraphSubset cogitant.jni.Graph.newSubset | ( | ) |
Create an empty subset of nodes.
Implements cogitant.base.Graph.
References cogitant.jni.GraphSubset.setGraph().
| Collection<cogitant.base.GraphObject> cogitant.jni.Graph.nodes | ( | ) |
Nodes of the graph.
Implements cogitant.base.Graph.
Referenced by cogitant.jni.Graph.deleteObjects().
| Type cogitant.jni.Graph.objectType | ( | ) |
Type of the object.
Implements cogitant.base.EnvironmentObject.
| void cogitant.jni.Graph.removeProperty | ( | int | prop | ) |
Remove the prop property from the GraphObjects of the Graph.
Implements cogitant.base.Graph.
| cogitant.base.GraphObject cogitant.jni.Graph.root | ( | ) |
Root of the graph.
Implements cogitant.base.Graph.
| int cogitant.jni.Graph.size | ( | ) |
| void cogitant.jni.Graph.subsetAddConceptsByIndividualMarkers | ( | cogitant.base.GraphSubset | gs, |
| Collection< String > | indm, | ||
| boolean | identifiers, | ||
| cogitant.base.GraphObject | parent | ||
| ) |
| void cogitant.jni.Graph.subsetAddRelationsByNeighbourhood | ( | cogitant.base.GraphSubset | gs, |
| cogitant.base.GraphObject | parent | ||
| ) |
| String cogitant.jni.Graph.toString | ( | ) |
Reimplemented from cogitant.jni.EnvironmentObject.
References cogitant.jni.EnvironmentObject.jniId().
Referenced by cogitant.jni.Environment.graphEnsureWellFormed().