Program Listing for File LPDegreeOrdered.hpp

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

/*
 * LPDegreeOrdered.hpp
 *
 *  Created on: 24.09.2013
 *      Author: cls
 */

#ifndef NETWORKIT_COMMUNITY_LP_DEGREE_ORDERED_HPP_
#define NETWORKIT_COMMUNITY_LP_DEGREE_ORDERED_HPP_

#include <networkit/community/CommunityDetectionAlgorithm.hpp>

namespace NetworKit {

using label = index; // a label is the same as a cluster id

class LPDegreeOrdered final : public CommunityDetectionAlgorithm {
private:
    count nIterations = 0;

public:
    LPDegreeOrdered(const Graph &G);

    void run() override;

    count numberOfIterations();
};

} /* namespace NetworKit */
#endif // NETWORKIT_COMMUNITY_LP_DEGREE_ORDERED_HPP_