Program Listing for File PartitionFragmentation.hpp

Return to documentation for file (include/networkit/community/PartitionFragmentation.hpp)

#ifndef NETWORKIT_COMMUNITY_PARTITION_FRAGMENTATION_HPP_
#define NETWORKIT_COMMUNITY_PARTITION_FRAGMENTATION_HPP_

#include <networkit/community/LocalPartitionEvaluation.hpp>

namespace NetworKit {

class PartitionFragmentation final : public LocalPartitionEvaluation {
public:
    using LocalPartitionEvaluation::LocalPartitionEvaluation;

    void run() override;

    bool isSmallBetter() const override { return true; };
};

} // namespace NetworKit

#endif // NETWORKIT_COMMUNITY_PARTITION_FRAGMENTATION_HPP_