Logo Search packages:      
Sourcecode: libjgrapht-java version File versions  Download package

org::_3pq::jgrapht::graph::GraphDelegator Class Reference

Inheritance diagram for org::_3pq::jgrapht::graph::GraphDelegator:

org::_3pq::jgrapht::graph::AbstractGraph org::_3pq::jgrapht::Graph org::_3pq::jgrapht::Graph org::_3pq::jgrapht::graph::AsUndirectedGraph org::_3pq::jgrapht::graph::DefaultListenableGraph org::_3pq::jgrapht::graph::UnmodifiableGraph org::_3pq::jgrapht::demo::JGraphAdapterDemo::ListenableDirectedMultigraph org::_3pq::jgrapht::graph::ListenableDirectedGraph org::_3pq::jgrapht::graph::ListenableUndirectedGraph org::_3pq::jgrapht::graph::UnmodifiableDirectedGraph org::_3pq::jgrapht::graph::UnmodifiableUndirectedGraph org::_3pq::jgrapht::graph::ListenableDirectedWeightedGraph org::_3pq::jgrapht::graph::ListenableUndirectedWeightedGraph

List of all members.


Detailed Description

A graph backed by the the graph specified at the constructor, which delegates all its methods to the backing graph. Operations on this graph "pass through" to the to the backing graph. Any modification made to this graph or the backing graph is reflected by the other.

This graph does not pass the hashCode and equals operations through to the backing graph, but relies on Object's equals and hashCode methods.

This class is mostly used as a base for extending subclasses.

Author:
Barak Naveh
Since:
Jul 20, 2003

Definition at line 72 of file GraphDelegator.java.


Public Member Functions

boolean addAllEdges (Collection edges)
boolean addAllVertices (Collection vertices)
Edge addEdge (Object sourceVertex, Object targetVertex)
boolean addEdge (Edge e)
boolean addVertex (Object v)
boolean containsEdge (Object sourceVertex, Object targetVertex)
boolean containsEdge (Edge e)
boolean containsVertex (Object v)
int degreeOf (Object vertex)
Set edgeSet ()
List edgesOf (Object vertex)
List getAllEdges (Object sourceVertex, Object targetVertex)
Edge getEdge (Object sourceVertex, Object targetVertex)
EdgeFactory getEdgeFactory ()
 GraphDelegator (Graph g)
List incomingEdgesOf (Object vertex)
int inDegreeOf (Object vertex)
int outDegreeOf (Object vertex)
List outgoingEdgesOf (Object vertex)
List removeAllEdges (Object sourceVertex, Object targetVertex)
boolean removeAllEdges (Collection edges)
boolean removeAllVertices (Collection vertices)
Edge removeEdge (Object sourceVertex, Object targetVertex)
boolean removeEdge (Edge e)
boolean removeVertex (Object v)
String toString ()
Set vertexSet ()

Protected Member Functions

boolean assertVertexExist (Object v)
boolean removeAllEdges (Edge[] edges)
String toStringFromSets (Collection vertexSet, Collection edgeSet)

Private Attributes

Graph m_delegate

Static Private Attributes

static final long serialVersionUID = 3257005445226181425L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index