|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.csdf.sdf.mem.RandomConflictGraphGenerator
public class RandomConflictGraphGenerator
Random graph generator in generating random conflict graphs. Actualy, it is the SDF graph that is randomly generated. When the SDF graph is obtained, partitioning conflicts are synthesized between SDF buffers. The synthesis strategy is to chain all input buffers for each SDF actor. No state variables are generated here and all nodes represent SDF buffers only.
Constructor Summary | |
---|---|
RandomConflictGraphGenerator()
A constructor without arguments. |
Method Summary | |
---|---|
ConflictGraph |
graph()
Generate a random conflict graph. |
static ConflictGraph |
graph(SDFGraph sGraph)
Generate a random conflict graph with the associated SDF graph. |
ConflictGraph |
graphFromSavedSDFGraph()
Get a conflict graph from the SDF graph previously generated. |
ConflictGraph[] |
graphs(int graphCount)
Generate the desired number of random conflict graph. |
void |
setSDFRandomGraphParameters(int oneProb,
int maxRate,
int minNodes,
int maxNodes)
Set parameter values to make the SDF random graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomConflictGraphGenerator()
Method Detail |
---|
public ConflictGraph graph()
public static ConflictGraph graph(SDFGraph sGraph)
The
- associated SDF graph.
public ConflictGraph graphFromSavedSDFGraph()
public ConflictGraph[] graphs(int graphCount)
graphCount
- The desired graph count.
public void setSDFRandomGraphParameters(int oneProb, int maxRate, int minNodes, int maxNodes)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |