DistModel.hpp 455 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#ifndef DIST_MODEL_HPP
#define DIST_MODEL_HPP

#include "metis.h"

/*! \brief This class do graph partitioning
 *
 * This class do graph partitioning, it use METIS internaly
 *
 */

template<typename Graph, typename algorithm>
class GraphPartitioning
{
	//! Structure that store the graph
	Graph & grp;

	/*! Constructor
	 *
	 * It load the graph to partition
	 *
	 * \param g Graph to store
	 *
	 */
	GraphPartitioning(Graph & g)
	:grp(g)
	{}
};

#endif