Program Listing for File BMatcher.hpp

Return to documentation for file (include/networkit/matching/BMatcher.hpp)

/*
 * BMatcher.hpp
 *
 *  Created on: 07.08.2023
 *      Author: Fabian Brandt-Tumescheit
 *              Frieda Gerharz
 */

#ifndef NETWORKIT_MATCHING_B_MATCHER_HPP_
#define NETWORKIT_MATCHING_B_MATCHER_HPP_

#include <networkit/base/Algorithm.hpp>
#include <networkit/matching/BMatching.hpp>

namespace NetworKit {

class BMatcher : public Algorithm {
protected:
    const Graph *G;
    BMatching bMatch;

public:
    BMatcher(const Graph &G, const std::vector<count> &b);

    ~BMatcher() override = default;

    void run() override = 0;

    BMatching getBMatching() const;
};

} /* namespace NetworKit */
#endif // NETWORKIT_MATCHING_B_MATCHER_HPP_