NAME

gen_at_graph - generates a random graph for use in algotutor.


SYNOPSIS

gen_at_graph [OPTION] ...


DESCRIPTION

gen_at_graph generates a random graph for use in algotutor. Currently the only type of graph it can generate is a rectangular grid of vertices. Each vertex is connected to at most 8 adjacent vertices around it.


OPTIONS

-r ROWS
generate ROWS rows of vertices

-c COLS
generate COLS columns of vertices

-w WIDTH
make each grid cell WIDTH pixel wide

-h HEIGHT
make each grid cell HEIGHT pixel high

-l LOWER
make all random numbers greater than or equal to LOWER

-u UPPER
make all random numbers less than (but never equal to) UPPER

-d PATTERN
specify the probability of generating each diagonal


LICENSE

This code is distributed under the GNU General Public License


AUTHOR

Chao-Kuei Hung ckhung AT cyut DOT edu DOT tw


SEE ALSO

Please see /usr/share/doc/algotutor/doc/ for the full set of documentations.