edu.uci.ics.jung.random.generators
Interface EvolvingGraphGenerator

All Superinterfaces:
GraphGenerator
All Known Implementing Classes:
BarabasiAlbertGenerator

public interface EvolvingGraphGenerator
extends GraphGenerator

An interface for algorithms that generate graphs that evolve over time

Author:
Scott White

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 the state that it had after the constructor returned.
 

Method Detail

evolveGraph

void evolveGraph(int numTimeSteps)
Instructs the algorithm to evolve the graph N time steps and return the most current evolved state of the graph

Parameters:
numTimeSteps - number of time steps to simulate from its current state

getNumElapsedTimeSteps

int getNumElapsedTimeSteps()
Retrieves the total number of time steps elapsed

Returns:
number of elapsed time steps

generateGraph

ArchetypeGraph generateGraph()
Returns a copy of the evolved graph in its current state

Specified by:
generateGraph in interface GraphGenerator
Returns:
new instance of the evolved graph

reset

void reset()
Resets the random graph to the state that it had after the constructor returned.