metismex.m

来自「This toolbox contains Matlab code for se」· M 代码 · 共 25 行

M
25
字号
% METISMEX : Mex-file interface to METIS
% 
% /****************************************************************************
% * metismex.c
% * Public domain MATLAB CMEX-file to let you use METIS-4.0 from MATLAB.
% * Usage:
% * [part,edgecut] = metismex('PartGraphRecursive',A,nparts,wgtflag,options)
% * [part,edgecut] = metismex('PartGraphKway',A,nparts,wgtflag,options)
% * [perm,iperm] = metismex('EdgeND',A,options)
% * [perm,iperm] = metismex('NodeND',A,options)
% * sep = metismex('NodeBisect',A,wgtflag,options)
% *
% * Output arguments, along with the wgtflag and options input arguments,
% * are optional. See the METIS manual for the meanings of the arguments.
% *
% * Note that error checking is not done: make sure A is structurally
% * symmetric or it will crash.
% *
% * To compile, you need to have Metis 4, and do something like
% *   mex -I<metis.h directory> -L<libmetis.a directory> -lmetis metismex.c
% *
% * Robert Bridson
% *****************************************************************************/
% 
% /* Modified 2 July 2001 by JRG to compile under Windows with lcc */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?