Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added help file

  • Loading branch information...
commit 7f2e35bb41d6182b0ec0fe1dcd1cb85559ed92fe 1 parent abf009e
David Gleich authored May 22, 2012

Showing 1 changed file with 31 additions and 0 deletions. Show diff stats Hide diff stats

  1. 31  metismex.m
31  metismex.m
... ...
@@ -0,0 +1,31 @@
  1
+function metismex
  2
+% METISMEX Establish an interface between METIS and Matlab
  3
+% 
  4
+% [map,edgecut] = metismex('PartGraphRecursive',A,nparts,options);
  5
+% [map,edgecut] = metismex('PartGraphKway',A,nparts,options);
  6
+% [perm,iperm] = metismex('EdgeND',A,options);
  7
+% [perm,iperm] = metismex('NodeND',A,options);
  8
+%
  9
+% options is now a structure with the following fields:
  10
+%   'seed' : an integer for the random seed used in metis
  11
+%   'ctype' : 'rm' or 'shem' [default]
  12
+%   'iptype' : 'grow' or 'random' (only applys for recursive bisection)
  13
+%   'objtype' : 'cut' or 'vol' [default] (only applys for part kway)
  14
+%   'rtype' : '1sided' [default] or '2sided' 
  15
+%   'ufactor' : an integer for balance
  16
+%   'pfactor' : an integer for minimum degree of vertex to be ordered last
  17
+%   'ccorder' : a flag (value ignored) to order connected components
  18
+%               separately
  19
+%   'nseps' : an integer for the number of separators tried at each level
  20
+%               (default 1)
  21
+%   'niter' : an integer for the number of refinement iterations  
  22
+%               (default 10)
  23
+%   'ncuts' : number of initial partitions to test (default 1)
  24
+%   'dbglvl' : the debug level (default 0)
  25
+% 
  26
+% The output and options commands are optional.
  27
+%
  28
+% Note that error checking is not done: make sure A is structurally
  29
+% symmetric or it will crash.
  30
+%
  31
+% See also METISDICE METISPART

0 notes on commit 7f2e35b

Please sign in to comment.
Something went wrong with that request. Please try again.