Merge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"
[controller.git] / third-party / net.sf.jung2 / src / main / java / edu / uci / ics / jung / algorithms / generators / EvolvingGraphGenerator.java
1 /*
2  * Copyright (c) 2003, the JUNG Project and the Regents of the University 
3  * of California
4  * All rights reserved.
5  *
6  * This software is open-source under the BSD license; see either
7  * "license.txt" or
8  * http://jung.sourceforge.net/license.txt for a description.
9  */
10 package edu.uci.ics.jung.algorithms.generators;
11
12
13
14 /**
15  * An interface for algorithms that generate graphs that evolve iteratively.
16  * @author Scott White
17  */
18 public interface EvolvingGraphGenerator<V, E> extends GraphGenerator<V,E> {
19
20     /**
21      * Instructs the algorithm to evolve the graph N steps.
22      * @param numSteps number of steps to iterate from the current state
23      */
24     void evolveGraph(int numSteps);
25
26     /**
27      * Retrieves the total number of steps elapsed.
28      * @return number of elapsed steps
29      */
30     int numIterations();
31 }