public class JungSimGraphWrapper<V> extends edu.uci.ics.jung.graph.AbstractTypedGraph<V,SimEdge<V>> implements edu.uci.ics.jung.graph.UndirectedGraph<V,SimEdge<V>>
| Constructor and Description |
|---|
JungSimGraphWrapper(SimilarityGraph<V> simGraph) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdge(SimEdge<V> edge,
edu.uci.ics.jung.graph.util.Pair<? extends V> endpoints,
edu.uci.ics.jung.graph.util.EdgeType edgeType) |
boolean |
addVertex(V vertex) |
boolean |
containsEdge(SimEdge<V> edge) |
boolean |
containsVertex(V vertex) |
SimEdge<V> |
findEdge(V v1,
V v2) |
V |
getDest(SimEdge<V> directedEdge) |
int |
getEdgeCount() |
Collection<SimEdge<V>> |
getEdges() |
edu.uci.ics.jung.graph.util.Pair<V> |
getEndpoints(SimEdge<V> edge) |
Collection<SimEdge<V>> |
getIncidentEdges(V vertex) |
Collection<SimEdge<V>> |
getInEdges(V vertex) |
Collection<V> |
getNeighbors(V vertex) |
Collection<SimEdge<V>> |
getOutEdges(V vertex) |
Collection<V> |
getPredecessors(V vertex) |
V |
getSource(SimEdge<V> directedEdge) |
Collection<V> |
getSuccessors(V vertex) |
int |
getVertexCount() |
Collection<V> |
getVertices() |
boolean |
isDest(V vertex,
SimEdge<V> edge) |
boolean |
isSource(V vertex,
SimEdge<V> edge) |
boolean |
removeEdge(SimEdge<V> edge) |
boolean |
removeVertex(V vertex) |
getDefaultEdgeType, getEdgeCount, getEdges, getEdgeType, hasEqualEdgeType, validateEdgeTypeaddEdge, addEdge, addEdge, addEdge, addEdge, degree, findEdgeSet, getIncidentCount, getIncidentVertices, getNeighborCount, getOpposite, getPredecessorCount, getSuccessorCount, getValidatedEndpoints, inDegree, isIncident, isNeighbor, isPredecessor, isSuccessor, outDegree, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic JungSimGraphWrapper(SimilarityGraph<V> simGraph)
public boolean addEdge(SimEdge<V> edge, edu.uci.ics.jung.graph.util.Pair<? extends V> endpoints, edu.uci.ics.jung.graph.util.EdgeType edgeType)
public Collection<SimEdge<V>> getInEdges(V vertex)
public Collection<SimEdge<V>> getOutEdges(V vertex)
public Collection<V> getPredecessors(V vertex)
public Collection<V> getSuccessors(V vertex)
public Collection<SimEdge<V>> getEdges()
public Collection<V> getVertices()
public boolean containsVertex(V vertex)
public int getEdgeCount()
public int getVertexCount()
public Collection<V> getNeighbors(V vertex)
public Collection<SimEdge<V>> getIncidentEdges(V vertex)
public boolean addVertex(V vertex)
public boolean removeVertex(V vertex)
Copyright © 2016. All Rights Reserved.