agl2
Class Ungraph
java.lang.Object
|
+--agl2.AbstractGraph
|
+--agl2.Ungraph
- All Implemented Interfaces:
- EdgeGraph, Graph, GraphTag, PropertyGraph, java.io.Serializable, UndirectedGraph, VertexGraph
- public class Ungraph
- extends AbstractGraph
- implements UndirectedGraph
The Ungraph
an UndirectedGraph
- See Also:
- Serialized Form
Fields inherited from interface agl2.GraphTag |
allTags, BIGRAPH, DIGRAPH, EDGE_DATA, EDGE_INDEX, EDGE_WEIGHT, GRAPH_ACYLIC, GRAPH_NAME, GRAPH_ROOT, GRAPH_TRAITS, MULTIGRAPH, OBJECT_VERTEX, UNGRAPH, VERTEX_COLOR, VERTEX_DATA, VERTEX_DISTANCE, VERTEX_EDGEMAP, VERTEX_INDEX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Ungraph
public Ungraph()
- The default constructor
Ungraph
public Ungraph(EdgeRep r,
GraphProperties p)
getAdjacentVertices
public java.util.Set getAdjacentVertices(java.lang.Object v)
- Specified by:
getAdjacentVertices
in interface VertexGraph
- Returns:
- Set
getAdjacentEdges
public java.util.Set getAdjacentEdges(java.lang.Object v)
- Specified by:
getAdjacentEdges
in interface EdgeGraph
- Returns:
- Set (o,v) in E
getIncidentVertices
public java.util.Set getIncidentVertices(java.lang.Object v)
- Specified by:
getIncidentVertices
in interface UndirectedGraph
getIncidentEdges
public java.util.Set getIncidentEdges(java.lang.Object v)
- Specified by:
getIncidentEdges
in interface UndirectedGraph
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object