SYNOPSIS

gen_at_graph [\s-1OPTION\s0] ...

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 \s-1ROWS\s0

generate \s-1ROWS\s0 rows of vertices

-c \s-1COLS\s0

generate \s-1COLS\s0 columns of vertices

-w \s-1WIDTH\s0

make each grid cell \s-1WIDTH\s0 pixel wide

-h \s-1HEIGHT\s0

make each grid cell \s-1HEIGHT\s0 pixel high

-l \s-1LOWER\s0

make all random numbers greater than or equal to \s-1LOWER\s0

-u \s-1UPPER\s0

make all random numbers less than (but never equal to) \s-1UPPER\s0

-d \s-1PATTERN\s0

specify the probability of generating each diagonal

LICENSE

This code is distributed under the \s-1GNU\s0 General Public License

AUTHOR

Chao-Kuei Hung ckhung \s-1AT\s0 cyut \s-1DOT\s0 edu \s-1DOT\s0 tw

RELATED TO gen_at_graph…

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