File: clmclose.azm

package info (click to toggle)
mcl 1%3A14-137%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,412 kB
  • sloc: ansic: 53,278; ml: 5,793; sh: 4,492; perl: 3,967; makefile: 432; python: 43
file content (127 lines) | stat: -rw-r--r-- 3,646 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
\import{mcx.zmm}

\begin{pud::man}{

   {name}{clm close}
   {html_title}{The clm close manual}
   {author}{Stijn van Dongen}
   {section}{1}
   {synstyle}{long}
   {defstyle}{long}

   \man_share
}

\${html}{\"pud::man::maketoc"}

\sec{name}{NAME}
\NAME{clm_close}{Fetch connected components from graphs or subgraphs}

\disclaim_clm{close}

\sec{synopsis}{SYNOPSIS}
\par{
   \clm{close} -imx <fname> [options]
   }

\par{
   \clm{close}
   \synreqopt{-imx}{fname}{specify matrix input}
   \synreqopt{-abc}{fname}{specify label input}
   \synreqopt{-dom}{fname}{input domain/cluster file}
   \synoptopt{-o}{fname}{output file}
   \synoptopt{--is-undirected}{trust input graph to be undirected}
   \synoptopt{--write-count}{output component count}
   \synoptopt{--write-sizes}{output component sizes (default)}
   \synoptopt{--write-cc}{output components as clustering}
   \synoptopt{--write-block}{output graph restricted to -dom argument}
   \synoptopt{--write-blockc}{output graph complement of -dom argument}
   \synoptopt{-cc-bound}{num}{select components with size at least num}
   \shared_synoptopt{-tf}
   \stdsynopt
   }

\sec{description}{DESCRIPTION}

\par{
   Use \clm{close} to fetch the connected components from a graph.  Different
   output modes are supported (see below).  In matrix mode (i.e. using
   the \genopt{-imx} option) the output returned with
   \genopt{--write-cc} can be used in conjunction with \mcxsubs
   to retrieve individual subgraphs corresponding to connected components. 

   }


\sec{options}{OPTIONS}

\begin{itemize}{\mcx_itemopts}

\item{\defopt{-abc}{<fname>}{label input}}
\car{
   The file name for input that is in label format.}

\item{\defopt{-imx}{<fname>}{input matrix}}
\car{
   The file name for input that is in mcl native matrix format.}

\item{\defopt{-o}{fname}{output file}}
\car{
   Specify the file where output is sent to. The default is STDOUT.
   }

\item{\defopt{-dom}{fname}{input domain/cluster file}}
\car{
   If this option is used, clm close will, as a first step,
   for each of the domains in file\~\genarg{fname} retrieve the associated
   subgraph from the input graph.  These are then further decomposed into
   connected components, and the program will process these in the normal
   manner.

   }

\items{
   {\defopt{--write-count}{output component count}}
   {\defopt{--write-sizes}{output component sizes (default)}}
   {\defopt{--write-cc}{output components as clustering}}
   {\defopt{--write-block}{output graph restricted to -dom argument}}
   {\defopt{--write-blockc}{output graph complement of -dom argument}}
}
\car{
   The default behaviour is currently to output the sizes of the
   connected components. It is also possible to simply output
   the number of components with \genopt{--write-count} or to
   write the components as a clustering in mcl format with
   \genopt{-write-cc}. Even more options exist: it is possible
   to output the restriction of the input graph to a domain, or
   to output the complement of this restriction.
   }

\item{\defopt{--is-undirected}{omit graph undirected check}}
\car{
   With this option the transformation to make sure
   that the input is undirected is omitted. This will
   be slightly faster. Using this option while the
   input is directed may lead to erronenous results.
   }

\item{\defopt{-cc-bound}{num}{select components with size at least num}}

\shared_defopt{-tf}

\stddefopt

\end{itemize}

\sec{author}{AUTHOR}
\par{
   Stijn van Dongen.
   }

\sec{seealso}{SEE ALSO}
\par{
   \mysib{mclfamily} for an overview of all the documentation
   and the utilities in the mcl family.
   }

\end{pud::man}