↰ Return to documentation for file (include/networkit/base/DynAlgorithm.hpp
)
#ifndef NETWORKIT_BASE_DYN_ALGORITHM_HPP_
#define NETWORKIT_BASE_DYN_ALGORITHM_HPP_
#include <stdexcept>
#include <string>
#include <networkit/dynamics/GraphEvent.hpp>
namespace NetworKit {
class DynAlgorithm {
public:
virtual ~DynAlgorithm() = default;
virtual void update(GraphEvent e) = 0;
virtual void updateBatch(const std::vector<GraphEvent> &batch) = 0;
};
} // namespace NetworKit
#endif // NETWORKIT_BASE_DYN_ALGORITHM_HPP_