nl.tudelft.tbm.eeni.owl2java.model.jmodel
Class JInheritanceGraph<V,E>
java.lang.Object
org.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.AbstractBaseGraph<V,E>
org.jgrapht.graph.DefaultDirectedGraph<V,E>
nl.tudelft.tbm.eeni.owl2java.model.jmodel.JInheritanceGraph<V,E>
- All Implemented Interfaces:
- Serializable, Cloneable, org.jgrapht.DirectedGraph<V,E>, org.jgrapht.Graph<V,E>
public class JInheritanceGraph<V,E>
- extends org.jgrapht.graph.DefaultDirectedGraph<V,E>
- implements org.jgrapht.DirectedGraph<V,E>
- See Also:
- Serialized Form
|
Method Summary |
void |
addChildVertex(V current,
V neww)
|
void |
addParentVertex(V current,
V neww)
|
boolean |
hasAnyChildren(V vertex)
|
boolean |
hasAnyParents(V vertex)
|
boolean |
hasChild(V vertex,
V child,
boolean recursive)
|
boolean |
hasDirectChild(V vertex,
V child)
|
boolean |
hasDirectParent(V vertex,
V parent)
|
boolean |
hasParent(V vertex,
V parent,
boolean recursive)
|
void |
insertVertex(V source,
V target,
V neww)
|
List<V> |
listDirectChildren(V vertex)
|
List<V> |
listDirectParents(V vertex)
|
| Methods inherited from class org.jgrapht.graph.AbstractBaseGraph |
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet |
| Methods inherited from class org.jgrapht.graph.AbstractGraph |
containsEdge, removeAllEdges, removeAllEdges, removeAllVertices, toString |
| Methods inherited from interface org.jgrapht.DirectedGraph |
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf |
| Methods inherited from interface org.jgrapht.Graph |
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet |
JInheritanceGraph
public JInheritanceGraph(Class<? extends E> edgeClass)
addParentVertex
public void addParentVertex(V current,
V neww)
insertVertex
public void insertVertex(V source,
V target,
V neww)
addChildVertex
public void addChildVertex(V current,
V neww)
hasDirectParent
public boolean hasDirectParent(V vertex,
V parent)
hasDirectChild
public boolean hasDirectChild(V vertex,
V child)
listDirectParents
public List<V> listDirectParents(V vertex)
listDirectChildren
public List<V> listDirectChildren(V vertex)
hasParent
public boolean hasParent(V vertex,
V parent,
boolean recursive)
hasChild
public boolean hasChild(V vertex,
V child,
boolean recursive)
hasAnyParents
public boolean hasAnyParents(V vertex)
hasAnyChildren
public boolean hasAnyChildren(V vertex)
Copyright © 2011. All Rights Reserved.