Program Listing for File PartitionReader.hpp

Return to documentation for file (include/networkit/io/PartitionReader.hpp)

/*
 * PartitionReader.hpp
 *
 *  Created on: 15.02.2013
 *      Author: Christian Staudt
 */

#ifndef NETWORKIT_IO_PARTITION_READER_HPP_
#define NETWORKIT_IO_PARTITION_READER_HPP_

#include <fstream>

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

namespace NetworKit {

class PartitionReader final {

public:
    Partition read(const std::string &path);
};

} /* namespace NetworKit */
#endif // NETWORKIT_IO_PARTITION_READER_HPP_