diva.graph.modular
Interface Graph
- All Superinterfaces:
- PropertyContainer, SemanticObjectContainer
- All Known Subinterfaces:
- CompositeNode
- public interface Graph
- extends SemanticObjectContainer, PropertyContainer
A graph is an object that contains nodes and
edges. Edges are accessed through the nodes that
they connect.
- Version:
- $Id: Graph.java,v 1.8 2004/04/13 22:15:15 cxh Exp $
- Author:
- Michael Shilman
- Accepted Rating:
|
Method Summary |
int |
getNodeCount()
Return a count of the nodes this graph contains. |
java.util.Iterator |
nodes()
Return an iterator over the nodes that this graph contains. |
nodes
public java.util.Iterator nodes()
- Return an iterator over the nodes that this graph contains.
getNodeCount
public int getNodeCount()
- Return a count of the nodes this graph contains.