Interface EvolvingGraphGenerator<V,E>
- All Superinterfaces:
GraphGenerator<V,
,E> com.google.common.base.Supplier<Graph<V,
,E>> Supplier<Graph<V,
E>>
- All Known Implementing Classes:
BarabasiAlbertGenerator
An interface for algorithms that generate graphs that evolve iteratively.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evolveGraph
(int numSteps) Instructs the algorithm to evolve the graph N steps.int
Retrieves the total number of steps elapsed.Methods inherited from interface com.google.common.base.Supplier
get
-
Method Details
-
evolveGraph
void evolveGraph(int numSteps) Instructs the algorithm to evolve the graph N steps.- Parameters:
numSteps
- number of steps to iterate from the current state
-
numIterations
int numIterations()Retrieves the total number of steps elapsed.- Returns:
- number of elapsed steps
-