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:
$Revision: 1.6 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 int getNodeCount()
          Return a count of the nodes this graph contains.
 Iterator nodes()
          Return an iterator over the nodes that this graph contains.
 
Methods inherited from interface diva.util.SemanticObjectContainer
getSemanticObject, setSemanticObject
 
Methods inherited from interface diva.util.PropertyContainer
getProperty, propertyNames, setProperty
 

Method Detail

nodes

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


getNodeCount

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



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