agl2
Class Bigraph

java.lang.Object
  |
  +--agl2.AbstractGraph
        |
        +--agl2.Digraph
              |
              +--agl2.Bigraph
All Implemented Interfaces:
BidirectedGraph, DirectedGraph, EdgeGraph, Graph, GraphTag, PropertyGraph, java.io.Serializable, VertexGraph

public class Bigraph
extends Digraph
implements BidirectedGraph

The Bigraph description.

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
Bigraph(EdgeRep r, GraphProperties p)
          The default constructor
 
Method Summary
 java.util.Set getAdjacentInEdges(java.lang.Object v)
           
 java.util.Set getAdjacentInVertices(java.lang.Object v)
           
 Bigraph reverse()
          return a reversed view of this bigraph.
 
Methods inherited from class agl2.Digraph
getAdjacentEdges, getAdjacentOutEdges, getAdjacentOutVertices, getAdjacentVertices, getRoot, 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.DirectedGraph
getAdjacentOutEdges, getAdjacentOutVertices, getRoot
 
Methods inherited from interface agl2.VertexGraph
getAdjacentVertices
 
Methods inherited from interface agl2.Graph
getEdges, getVertices
 
Methods inherited from interface agl2.EdgeGraph
getAdjacentEdges, getEdge
 
Methods inherited from interface agl2.PropertyGraph
getProperty, putProperty
 

Constructor Detail

Bigraph

public Bigraph(EdgeRep r,
               GraphProperties p)
The default constructor

Method Detail

getAdjacentInVertices

public java.util.Set getAdjacentInVertices(java.lang.Object v)
Specified by:
getAdjacentInVertices in interface BidirectedGraph

getAdjacentInEdges

public java.util.Set getAdjacentInEdges(java.lang.Object v)
Specified by:
getAdjacentInEdges in interface BidirectedGraph

reverse

public Bigraph reverse()
return a reversed view of this bigraph. incomming are now outgoing and vice-versa.