Program Listing for File DynamicGraphGenerator.hpp

Return to documentation for file (include/networkit/generators/DynamicGraphGenerator.hpp)

/*
 * DynamicGraphGenerator.hpp
 *
 *  Created on: 14.01.2014
 *      Author: cls
 */

#ifndef NETWORKIT_GENERATORS_DYNAMIC_GRAPH_GENERATOR_HPP_
#define NETWORKIT_GENERATORS_DYNAMIC_GRAPH_GENERATOR_HPP_

#include <networkit/dynamics/GraphEvent.hpp>
#include <networkit/graph/Graph.hpp>

namespace NetworKit {

class DynamicGraphGenerator {

public:
    virtual ~DynamicGraphGenerator() = default;

    virtual std::vector<GraphEvent> generate(count nSteps) = 0;

protected:
    Graph G; // the graph instance
};

} /* namespace NetworKit */

#endif // NETWORKIT_GENERATORS_DYNAMIC_GRAPH_GENERATOR_HPP_