Program Listing for File ClusteringProjector.hpp

Return to documentation for file (include/networkit/coarsening/ClusteringProjector.hpp)

/*
 * ClusteringProjector.hpp
 *
 *  Created on: 07.01.2013
 *      Author: Christian Staudt
 */

#ifndef NETWORKIT_COARSENING_CLUSTERING_PROJECTOR_HPP_
#define NETWORKIT_COARSENING_CLUSTERING_PROJECTOR_HPP_

#include <networkit/graph/Graph.hpp>
#include <networkit/structures/Partition.hpp>

namespace NetworKit {

class ClusteringProjector {

public:
    virtual Partition projectBack(const Graph &Gcoarse, const Graph &Gfine,
                                  const std::vector<node> &fineToCoarse,
                                  const Partition &zetaCoarse);

    virtual Partition projectBackToFinest(const Partition &zetaCoarse,
                                          const std::vector<std::vector<node>> &maps,
                                          const Graph &Gfinest);

    virtual Partition
    projectCoarseGraphToFinestClustering(const Graph &Gcoarse, const Graph &Gfinest,
                                         const std::vector<std::vector<node>> &maps);
};

} /* namespace NetworKit */
#endif // NETWORKIT_COARSENING_CLUSTERING_PROJECTOR_HPP_