Package | Description |
---|---|
org.apache.openjpa.lib.graph |
Graph Abstraction
This package provides a graph abstraction and graph-related algorithms.
|
Modifier and Type | Method and Description |
---|---|
List<Edge> |
Edge.getCycle()
List of edges forming a cycle.
|
Collection<Edge> |
Graph.getEdges()
Return all edges in the graph.
|
Collection<Edge> |
DepthFirstAnalysis.getEdges(int type)
Return all edges of the given type.
|
Collection<Edge> |
Graph.getEdges(Object from,
Object to)
Return all the edges from one node to another.
|
Collection<Edge> |
Graph.getEdgesFrom(Object node)
Return all the edges from a particular node.
|
Collection<Edge> |
Graph.getEdgesTo(Object node)
Return all the edges to a particular node.
|
Modifier and Type | Method and Description |
---|---|
void |
Graph.addEdge(Edge edge)
Add an edge to the graph.
|
protected void |
BreadthFirstWalk.edgeVisited(Edge edge)
An edge is seen.
|
void |
GraphVisitor.edgeVisited(Edge edge)
may visit the node twice (both sides)
|
boolean |
Graph.removeEdge(Edge edge)
Remove an edge from the graph.
|
Modifier and Type | Method and Description |
---|---|
void |
Edge.setCycle(List<Edge> cycle)
List of edges forming a cycle.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.