org.jrdf.graph.global.molecule
Interface NewGraphDecomposer

All Known Implementing Classes:
NewNaiveGraphDecomposerImpl

public interface NewGraphDecomposer

Decompose a local graph into a global graph (set of Molecules).

Version:
$Revision: 1226 $
Author:
Andrew Newman

Method Summary
 Set<NewMolecule> decompose(Graph graph)
          Given the graph, this method returns the graph as a set of Molecules conataining the Most Self Contained Graph.
 

Method Detail

decompose

Set<NewMolecule> decompose(Graph graph)
                           throws GraphException
Given the graph, this method returns the graph as a set of Molecules conataining the Most Self Contained Graph.

Parameters:
graph - to decompose
Returns:
set of molecules (subgraphs) which make up the graph
Throws:
GraphException