public class GrOpsRandomGraphs extends OperationGroup implements OperationDescFile
ALGODIR, CMDSDIR, GROPDIR
Constructor and Description |
---|
GrOpsRandomGraphs() |
Modifier and Type | Method and Description |
---|---|
static <VertexType,EdgeType> |
addRandomDisjointClique(GraphLibrary<VertexType,EdgeType> graph,
int size,
java.lang.String prefix,
int weight1,
int weight2) |
static <VertexType,EdgeType> |
addRandomEdge(GraphLibrary<VertexType,EdgeType> graph,
double weight) |
static <VertexType,EdgeType> |
createErdosRenyiGraph(GraphLibrary<VertexType,EdgeType> graph,
int vertexCount,
float connectionProbability,
int weight1,
int weight2,
Progress progress) |
static <VertexType,EdgeType> |
createPGeneratedGraph(GraphLibrary<VertexType,EdgeType> graph,
int vertexCount,
float a,
float b) |
static <VertexType,EdgeType> |
createRandomClusterGraph(GraphLibrary<VertexType,EdgeType> graph,
int clusterCount,
int minClusterSize,
int maxClusterSize,
int additionalEdges,
int weight1,
int weight2) |
static <VertexType,EdgeType> |
deleteRandomEdge(GraphLibrary<VertexType,EdgeType> graph) |
java.lang.String |
getDescriptionFilename()
Returns the filename of the description file containing a help entry for the operation.
|
GraphOperation[] |
getOperations()
Returns instances of all operations of the group.
|
public static <VertexType,EdgeType> void createErdosRenyiGraph(GraphLibrary<VertexType,EdgeType> graph, int vertexCount, float connectionProbability, int weight1, int weight2, Progress progress) throws InvalidGraphConfigException
InvalidGraphConfigException
public static <VertexType,EdgeType> void deleteRandomEdge(GraphLibrary<VertexType,EdgeType> graph)
public static <VertexType,EdgeType> EdgeType addRandomEdge(GraphLibrary<VertexType,EdgeType> graph, double weight)
public static <VertexType,EdgeType> void addRandomDisjointClique(GraphLibrary<VertexType,EdgeType> graph, int size, java.lang.String prefix, int weight1, int weight2)
public static <VertexType,EdgeType> void createRandomClusterGraph(GraphLibrary<VertexType,EdgeType> graph, int clusterCount, int minClusterSize, int maxClusterSize, int additionalEdges, int weight1, int weight2) throws InvalidGraphConfigException
InvalidGraphConfigException
public static <VertexType,EdgeType> void createPGeneratedGraph(GraphLibrary<VertexType,EdgeType> graph, int vertexCount, float a, float b) throws InvalidGraphConfigException
InvalidGraphConfigException
public GraphOperation[] getOperations()
OperationGroup
getOperations
in class OperationGroup
public java.lang.String getDescriptionFilename()
OperationDescFile
getDescriptionFilename
in interface OperationDescFile