public interface KPartiteGraph<V,E> extends Graph<V,E>
Modifier and Type | Method and Description |
---|---|
Collection<com.google.common.base.Predicate<V>> |
getPartitions()
Returns the set of
Predicate instances which define this graph's partitions. |
Collection<V> |
getVertices(com.google.common.base.Predicate<V> partition)
Returns all vertices which satisfy the specified
partition predicate. |
addEdge, addEdge, getDest, getEndpoints, getInEdges, getOpposite, getOutEdges, getPredecessorCount, getPredecessors, getSource, getSuccessorCount, getSuccessors, inDegree, isDest, isPredecessor, isSource, isSuccessor, outDegree
addEdge, addEdge, addVertex, containsEdge, containsVertex, degree, findEdge, findEdgeSet, getDefaultEdgeType, getEdgeCount, getEdgeCount, getEdges, getEdges, getEdgeType, getIncidentCount, getIncidentEdges, getIncidentVertices, getNeighborCount, getNeighbors, getVertexCount, getVertices, isIncident, isNeighbor, removeEdge, removeVertex
Collection<V> getVertices(com.google.common.base.Predicate<V> partition)
partition
predicate.partition
- Predicate
which defines a partitionpartition
Collection<com.google.common.base.Predicate<V>> getPartitions()
Predicate
instances which define this graph's partitions.Predicate
instances which define this graph's partitionsCopyright © 2015. All rights reserved.