|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for algorithms that generate graphs that evolve over time
Method Summary | |
void |
evolveGraph(int numTimeSteps)
Instructs the algorithm to evolve the graph N time steps and return the most current evolved state of the graph |
ArchetypeGraph |
generateGraph()
Returns a copy of the evolved graph in its current state |
int |
getNumElapsedTimeSteps()
Retrieves the total number of time steps elapsed |
void |
reset()
Resets the random graph to have zero vertices and zero edges and resets the elapsed time to 0. |
Method Detail |
public void evolveGraph(int numTimeSteps)
numTimeSteps
- number of time steps to simulate from its
current statepublic int getNumElapsedTimeSteps()
public ArchetypeGraph generateGraph()
generateGraph
in interface GraphGenerator
public void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |