scratch.danyel.lazy
Class LazySparseVertex
java.lang.Object
edu.uci.ics.jung.utils.UserDataDelegate
edu.uci.ics.jung.graph.impl.AbstractElement
edu.uci.ics.jung.graph.impl.AbstractArchetypeVertex
edu.uci.ics.jung.graph.impl.AbstractSparseVertex
edu.uci.ics.jung.graph.impl.SimpleSparseVertex
edu.uci.ics.jung.graph.impl.SparseVertex
scratch.danyel.lazy.LazySparseVertex
- All Implemented Interfaces:
- ArchetypeVertex, Element, Vertex, UserDataContainer, Cloneable
public class LazySparseVertex
- extends SparseVertex
- implements Vertex
- Author:
- danyelf
Methods inherited from class edu.uci.ics.jung.graph.impl.SimpleSparseVertex |
getNeighbors_internal, getPredecessors, getSuccessors, inDegree, initialize, isDest, isPredecessorOf, isSource, isSuccessorOf, numPredecessors, numSuccessors, outDegree, setNeighborsToEdges, setPredsToInEdges, setSuccsToOutEdges |
Methods inherited from interface edu.uci.ics.jung.graph.Vertex |
findEdge, findEdgeSet, getInEdges, getOutEdges, getPredecessors, getSuccessors, inDegree, isDest, isPredecessorOf, isSource, isSuccessorOf, numPredecessors, numSuccessors, outDegree |
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeVertex |
copy, degree, findEdge, findEdgeSet, getEqualVertex, getEquivalentVertex, getIncidentEdges, getNeighbors, isIncident, isNeighborOf, numNeighbors |
STATUS_NAME_KNOWN_BUT_EMPTY
public static final String STATUS_NAME_KNOWN_BUT_EMPTY
- See Also:
- Constant Field Values
STATUS_READ_BUT_NOT_NEIGHBORS
public static final String STATUS_READ_BUT_NOT_NEIGHBORS
- See Also:
- Constant Field Values
STATUS_COMPLETE
public static final String STATUS_COMPLETE
- See Also:
- Constant Field Values
current_status
protected String current_status
LazySparseVertex
public LazySparseVertex(Object uniqueID,
LazySparseVertexFactory lsvf)
getNeighborsToEdges
protected Map getNeighborsToEdges()
- Returns a map from the successors of this vertex to its outgoing edges.
If this map has not yet been created, it creates it. This method should
not be directly accessed by users.
- Overrides:
getNeighborsToEdges
in class SimpleSparseVertex
getSuccsToOutEdges
protected Map getSuccsToOutEdges()
- Returns a map from the successors of this vertex to its outgoing edges.
If this map has not yet been created, it creates it. This method should
not be directly accessed by users.
- Overrides:
getSuccsToOutEdges
in class SimpleSparseVertex
getPredsToInEdges
protected Map getPredsToInEdges()
- Description copied from class:
SimpleSparseVertex
- Returns a map from the predecessors of this vertex to its incoming
edges. If this map has not yet been created, it creates it.
This map should not be directly accessed by users.
- Overrides:
getPredsToInEdges
in class SimpleSparseVertex
readVertexAnnotation
public void readVertexAnnotation()
readVertexData
public void readVertexData()
addNeighbor_internal
protected void addNeighbor_internal(Edge e,
Vertex v)
- Description copied from class:
AbstractSparseVertex
- Adds the specified edge
e
and vertex v
to the internal data structures of this vertex.
- Overrides:
addNeighbor_internal
in class SparseVertex
- Parameters:
e
- the new incident edge of this vertexv
- the new neighbor of this vertex- See Also:
AbstractSparseVertex.addNeighbor_internal(Edge, Vertex)
getUniqueID
public Object getUniqueID()
- Returns:
- Returns the uniqueID.