Class HyperGraphGenerator
java.lang.Object
org.unifi.mecvirtualresourceallocation.evaluation.util.HyperGraphGenerator
Utility class for generating random hypergraphs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HyperGraph
generateRandomHyperGraph
(int numVertices, int delta, Random rand) Generates a random hypergraph with the specified number of vertices.
-
Method Details
-
generateRandomHyperGraph
Generates a random hypergraph with the specified number of vertices.- Parameters:
numVertices
- the number of vertices in the hypergraphrand
- the Random instance used for generating random numbersdelta
- the delta (δ) value used for generating hypergraphs- Returns:
- a randomly generated HyperGraph
-