edu.uci.ics.jung.graph
Interface KPartiteGraph
- All Superinterfaces:
- ArchetypeGraph, Graph, UserDataContainer
- All Known Implementing Classes:
- KPartiteSparseGraph
- public interface KPartiteGraph
- extends Graph
An interface for k-partite graphs. k-partite graphs'
vertices are distributed among k partitions
(disjoint subsets), and their edges are constrained to
connect vertices in distinct partitions.
- Author:
- Joshua O'Madadhain
Method Summary |
java.util.Collection |
getPartitions()
Returns the array of predicates which define the partitions
of this graph. |
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph |
addListener, copy, getEdgeConstraints, getEdges, getVertexConstraints, getVertices, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeEdges, removeListener, removeVertices |
getPartitions
public java.util.Collection getPartitions()
- Returns the array of predicates which define the partitions
of this graph.