This repository has been archived on 2021-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
NC/mp3/Project_3_Maggioni_Claudio/src/Bench_metis.m

21 lines
517 B
Matlab
Executable File

function [cut_recursive,cut_kway] = Bench_metis(picture)
% Compare recursive bisection and direct k-way partitioning,
% as implemented in the Metis 5.0.2 library.
% Add necessary paths
addpaths_GP;
% Graphs in question
% load 'airfoil1.mat' ;
% load 'crack.mat';
% Steps
% 1. Initialize the cases
% 2. Call metismex to
% a) Recursively partition the graphs in 16 and 32 subsets.
% b) Perform direct k-way partitioning of the graphs in 16 and 32 subsets.
% 3. Visualize the results for 32 partitions
end