org.inria.myriads.snoozeclient.systemtree.graph
Class SystemGraphGenerator

java.lang.Object
  extended by org.inria.myriads.snoozeclient.systemtree.graph.SystemGraphGenerator

public final class SystemGraphGenerator
extends Object

Graph generator.

Author:
Eugen Feller

Constructor Summary
SystemGraphGenerator(int numberOfBacklogEntries)
          Constructor.
 
Method Summary
 edu.uci.ics.jung.graph.Forest<String,Integer> generateGraph(org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription groupLeader)
          Generates the graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemGraphGenerator

public SystemGraphGenerator(int numberOfBacklogEntries)
Constructor.

Parameters:
numberOfBacklogEntries - The number of backlog entries
Method Detail

generateGraph

public edu.uci.ics.jung.graph.Forest<String,Integer> generateGraph(org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription groupLeader)
                                                            throws SystemTreeGeneratorException
Generates the graph.

Parameters:
groupLeader - The group leader description
Returns:
The graph
Throws:
SystemTreeGeneratorException


Copyright © 2012. All Rights Reserved.