Program Listing for File SampledNodeStructuralRandMeasure.hpp

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

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

#ifndef NETWORKIT_COMMUNITY_SAMPLED_NODE_STRUCTURAL_RAND_MEASURE_HPP_
#define NETWORKIT_COMMUNITY_SAMPLED_NODE_STRUCTURAL_RAND_MEASURE_HPP_

#include <networkit/community/DissimilarityMeasure.hpp>

namespace NetworKit {

class SampledNodeStructuralRandMeasure final : public DissimilarityMeasure {

public:
    SampledNodeStructuralRandMeasure(count maxSamples);

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

private:
    count maxSamples;
};

} /* namespace NetworKit */
#endif // NETWORKIT_COMMUNITY_SAMPLED_NODE_STRUCTURAL_RAND_MEASURE_HPP_