de.cesr.more.testing.testutils
Class MTestGraphs

java.lang.Object
  extended by de.cesr.more.testing.testutils.MTestGraphs

public class MTestGraphs
extends Object

MORe

Date:
03.12.2010

Nested Class Summary
static class MTestGraphs.MTestNode
           
 
Constructor Summary
MTestGraphs()
           
 
Method Summary
static DirectedGraph<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteDirectedGraph(int num_nodes)
          Vertices or of Type Object.
static MoreNetwork<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteDirectedMNetwork(int num_nodes)
           
static UndirectedGraph<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteUndirectedGraph(int num_nodes)
          Vertices or of Type Object.
static Graph<Object,Object> getSmallWorldGraph()
          Returns a graph that is stored in graphML-format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTestGraphs

public MTestGraphs()
Method Detail

getCompleteUndirectedGraph

public static UndirectedGraph<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteUndirectedGraph(int num_nodes)
Vertices or of Type Object.

Parameters:
num_nodes -
Returns:
Created by Sascha Holzhauer on 03.12.2010

getCompleteDirectedMNetwork

public static MoreNetwork<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteDirectedMNetwork(int num_nodes)

getCompleteDirectedGraph

public static DirectedGraph<MTestGraphs.MTestNode,MoreEdge<MTestGraphs.MTestNode>> getCompleteDirectedGraph(int num_nodes)
Vertices or of Type Object.

Parameters:
num_nodes -
Returns:
Created by Sascha Holzhauer on 03.12.2010

getSmallWorldGraph

public static Graph<Object,Object> getSmallWorldGraph()
                                               throws IOException
Returns a graph that is stored in graphML-format.

Returns:
Created by Sascha Holzhauer on 03.12.2010
Throws:
IOException