de.cesr.more.testing.testutils
Class MTestGraphs
java.lang.Object
de.cesr.more.testing.testutils.MTestGraphs
public class MTestGraphs
- extends Object
MORe
- Date:
- 03.12.2010
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTestGraphs
public MTestGraphs()
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