diva.graph.modular
Interface CompositeModel

All Known Subinterfaces:
CompositeNodeModel, MutableCompositeNodeModel
All Known Implementing Classes:
BasicModularGraphModel.BasicNodeModel

public interface CompositeModel

A graph is an object that contains nodes and edges. Edges are accessed through the nodes that they connect.

Version:
$Revision: 1.3 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 int getNodeCount(Object composite)
          Return a count of the nodes this graph contains.
 Iterator nodes(Object composite)
          Return an iterator over the nodes that this graph contains.
 

Method Detail

nodes

Iterator nodes(Object composite)
Return an iterator over the nodes that this graph contains.


getNodeCount

int getNodeCount(Object composite)
Return a count of the nodes this graph contains.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.