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

Nested Class Summary
 
Nested classes inherited from class agl2.GraphTag
GraphTag.MapTag, GraphTag.Tag
 
Field Summary
 
Fields inherited from class agl2.AbstractGraph
properties, rep
 
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
 
Constructor Summary
Ungraph()
          The default constructor
Ungraph(EdgeRep r, GraphProperties p)
           
 
Method Summary
 java.util.Set getAdjacentEdges(java.lang.Object v)
           
 java.util.Set getAdjacentVertices(java.lang.Object v)
           
 java.util.Set getIncidentEdges(java.lang.Object v)
           
 java.util.Set getIncidentVertices(java.lang.Object v)
           
 java.lang.String toString()
           
 
Methods inherited from class agl2.AbstractGraph
getEdge, getEdges, getProperty, getVertices, hasEdge, hasVertex, objectVertex, properties, putProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface agl2.Graph
getEdges, getVertices
 
Methods inherited from interface agl2.EdgeGraph
getEdge
 
Methods inherited from interface agl2.PropertyGraph
getProperty, putProperty
 

Constructor Detail

Ungraph

public Ungraph()
The default constructor


Ungraph

public Ungraph(EdgeRep r,
               GraphProperties p)
Method Detail

getAdjacentVertices

public java.util.Set getAdjacentVertices(java.lang.Object v)
Specified by:
getAdjacentVertices in interface VertexGraph
Returns:
Set o in V s.t. (v,o) in E

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