Program Listing for File SampledGraphStructuralRandMeasure.hpp

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

/*
 * SampledGraphStructuralRandMeasure.hpp
 *
 *  Created on: 01.07.2013
 *      Author: cls
 */

#ifndef NETWORKIT_COMMUNITY_SAMPLED_GRAPH_STRUCTURAL_RAND_MEASURE_HPP_
#define NETWORKIT_COMMUNITY_SAMPLED_GRAPH_STRUCTURAL_RAND_MEASURE_HPP_

#include <networkit/community/DissimilarityMeasure.hpp>

namespace NetworKit {

class SampledGraphStructuralRandMeasure final : public DissimilarityMeasure {

public:
    SampledGraphStructuralRandMeasure(count maxSamples);

    double getDissimilarity(const Graph &G, const Partition &first,
                            const Partition &second) override;

private:
    count maxSamples;
};

} /* namespace NetworKit */
#endif // NETWORKIT_COMMUNITY_SAMPLED_GRAPH_STRUCTURAL_RAND_MEASURE_HPP_