public class AggregateGraph<V,E> extends Object implements Graph<V,E>
| Constructor and Description |
|---|
AggregateGraph() |
public Collection<E> getInEdges(V vertex)
getInEdges in interface Graph<V,E>getInEdges in interface Hypergraph<V,E>public V getOpposite(V vertex, E edge)
getOpposite in interface Graph<V,E>public Collection<E> getOutEdges(V vertex)
getOutEdges in interface Graph<V,E>getOutEdges in interface Hypergraph<V,E>public int getPredecessorCount(V vertex)
getPredecessorCount in interface Graph<V,E>public Collection<V> getPredecessors(V vertex)
getPredecessors in interface Graph<V,E>getPredecessors in interface Hypergraph<V,E>public int getSuccessorCount(V vertex)
getSuccessorCount in interface Graph<V,E>public Collection<V> getSuccessors(V vertex)
getSuccessors in interface Graph<V,E>getSuccessors in interface Hypergraph<V,E>public int inDegree(V vertex)
public boolean isPredecessor(V v1, V v2)
isPredecessor in interface Graph<V,E>public boolean isSuccessor(V v1, V v2)
isSuccessor in interface Graph<V,E>public int outDegree(V vertex)
public boolean addEdge(E edge, Collection<? extends V> vertices)
addEdge in interface Hypergraph<V,E>public boolean addEdge(E edge, Collection<? extends V> vertices, EdgeType edgeType)
addEdge in interface Hypergraph<V,E>public boolean addVertex(V vertex)
addVertex in interface Hypergraph<V,E>public boolean containsEdge(E edge)
containsEdge in interface Hypergraph<V,E>public boolean containsVertex(V vertex)
containsVertex in interface Hypergraph<V,E>public int degree(V vertex)
degree in interface Hypergraph<V,E>public Collection<E> findEdgeSet(V v1, V v2)
findEdgeSet in interface Hypergraph<V,E>public EdgeType getDefaultEdgeType()
getDefaultEdgeType in interface Hypergraph<V,E>public int getEdgeCount()
getEdgeCount in interface Hypergraph<V,E>public int getEdgeCount(EdgeType edgeType)
getEdgeCount in interface Hypergraph<V,E>public EdgeType getEdgeType(E edge)
getEdgeType in interface Hypergraph<V,E>public Collection<E> getEdges()
getEdges in interface Hypergraph<V,E>public Collection<E> getEdges(EdgeType edgeType)
getEdges in interface Hypergraph<V,E>public int getIncidentCount(E edge)
getIncidentCount in interface Hypergraph<V,E>public Collection<E> getIncidentEdges(V vertex)
getIncidentEdges in interface Hypergraph<V,E>public Collection<V> getIncidentVertices(E edge)
getIncidentVertices in interface Hypergraph<V,E>public int getNeighborCount(V vertex)
getNeighborCount in interface Hypergraph<V,E>public Collection<V> getNeighbors(V vertex)
getNeighbors in interface Hypergraph<V,E>public int getVertexCount()
getVertexCount in interface Hypergraph<V,E>public Collection<V> getVertices()
getVertices in interface Hypergraph<V,E>public boolean isIncident(V vertex, E edge)
isIncident in interface Hypergraph<V,E>public boolean isNeighbor(V v1, V v2)
isNeighbor in interface Hypergraph<V,E>public boolean removeEdge(E edge)
removeEdge in interface Hypergraph<V,E>public boolean removeVertex(V vertex)
removeVertex in interface Hypergraph<V,E>Copyright © 2016. All rights reserved.