1CSDP-RAND_GRAPH(1)               User Commands              CSDP-RAND_GRAPH(1)
2
3
4

NAME

6       csdp-rand_graph - Generate a random graph
7

SYNOPSIS

9       csdp-rand_graph OUTPUT_FILE N P [SEED]
10

DESCRIPTION

12       The  csdp-rand_graph program generates a random graph, which is written
13       to the indicated output file.  The parameter N is the desired number of
14       vertices.   P  is  the probability of an edge between any given pair of
15       vertices.  SEED is used to seed the random  number  generator;  if  not
16       provided, the value 1 is used as the seed.
17
18

FILE FORMAT

20       The generated graph is written to the output file in the following for‐
21       mat:
22              n
23              m
24              i1 j1
25
26              im jm
27       where n is the number of nodes, m is the number of edges, and each  i/j
28       pair describes one edge.
29
30

EXIT STATUS

32       The exit status is zero if the graph is generated successfully.  Other‐
33       wise, the exit status is one, and an error message indicating the prob‐
34       lem is produced on standard out.
35
36

AUTHORS

38       Csdp was written by Dr. Brian Borchers <borchers@nmt.edu>, with contri‐
39       butions by  Joseph  Young  <josyoun@nmt.edu>  and  Aaron  Wilson  <wil‐
40       son@nmt.edu>.
41
42       This man page was written by Jerry James <loganjerry@gmail.com>.  It is
43       distributed under the same terms as Csdp.
44
45

SEE ALSO

47       csdp-theta(1), csdp-graphtoprob(1), csdp-complement(1)
48
49
50
51Brian Borchers                       6.1.1                  CSDP-RAND_GRAPH(1)
Impressum