|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object and.Mapping.Graph
public class Graph
Class representing the interaction graph of an application
Constructor Summary | |
---|---|
Graph()
Default constructor. |
Method Summary | |
---|---|
void |
addGTask(GTask t)
Add a task in the interaction graph. |
double |
getAverageDep()
Return the average of dependencies of tasks in the graph. |
java.util.ArrayList<GTask> |
getGraph()
Return the graph in a tasks list form. |
int |
getNbGTask()
Return the amount of tasks in the graph. |
void |
print()
Print the graph in a text version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graph()
Method Detail |
---|
public int getNbGTask()
public void addGTask(GTask t)
t
- Task to be addpublic java.util.ArrayList<GTask> getGraph()
public double getAverageDep()
public void print()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |