public class SparseGraph extends AbstractSparseGraph
AbstractSparseGraph
that, by default, imposes no
constraints on the edges and vertices that may be added to it. As a result,
this class supports mixed-mode graphs (graphs with both directed and
undirected edges) and graphs with parallel edges.
SparseVertex
is an appropriate vertex type for this graph.SparseVertex
AbstractArchetypeGraph.Requirements
UserDataContainer.CopyAction
mEdges, mVertices
edge_requirements, mEdgeIDs, mGraphListenerHandler, mVertexIDs, vertex_requirements
factory, udc_delegate
DIRECTED_EDGE, NOT_PARALLEL_EDGE, SIMPLE_EDGE, UNDIRECTED_EDGE
SUBSET_MANAGER
Constructor and Description |
---|
SparseGraph() |
SparseGraph(java.util.Collection edge_constraints)
Creates a new SparseGraph and adds the specified edge constraints.
|
addEdge, addVertex, getEdges, getVertices, initialize, isDirected, removeEdge, removeEdges, removeVertex, removeVertices
addAllNotInitializers, addListener, checkConstraints, copy, getEdgeConstraints, getVertexConstraints, listenersExist, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeListener, toString
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDataFactory, setUserDatum
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, copy, getEdgeConstraints, getVertexConstraints, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeListener
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum