|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phoenixst.plexus.DefaultGraph
org.progeeks.graph.EdgeIdentityGraph
public class EdgeIdentityGraph
A DefaultGraph subclass that uses an edge implementation with specific identity properties such that edges can serialized and still found in the graph, etc.. Currently it uses ImmutableIdentityEdge but this could change in the future since that edge has a few limitations.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph |
---|
com.phoenixst.plexus.Graph.Edge |
Constructor Summary | |
---|---|
EdgeIdentityGraph()
|
|
EdgeIdentityGraph(com.phoenixst.plexus.Graph g)
|
Method Summary | |
---|---|
protected com.phoenixst.plexus.Graph.Edge |
createEdge(java.lang.Object object,
java.lang.Object tail,
java.lang.Object head,
boolean isDirected,
java.lang.Object edgeState)
Overridden to create an ImmutableIdentityEdge. |
Methods inherited from class com.phoenixst.plexus.DefaultGraph |
---|
addEdge, addEdge, addGraphListener, addNode, adjacentNodes, containsEdge, containsNode, degree, degree, edgeAdded, edgeAdding, edgeRemoved, edgeRemoving, edges, equals, getAdjacentNode, getEdge, getIncidentEdge, getNode, hashCode, incidentEdges, nodeAdded, nodeAdding, nodeRemoved, nodeRemoving, nodes, removeEdge, removeGraphListener, removeNode, toString, traverser |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EdgeIdentityGraph()
public EdgeIdentityGraph(com.phoenixst.plexus.Graph g)
Method Detail |
---|
protected com.phoenixst.plexus.Graph.Edge createEdge(java.lang.Object object, java.lang.Object tail, java.lang.Object head, boolean isDirected, java.lang.Object edgeState)
createEdge
in class com.phoenixst.plexus.DefaultGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |