DOKK / manpages / debian 12 / algotutor / gen_at_graph.1.en
GEN_AT_GRAPH(1) User Contributed Perl Documentation GEN_AT_GRAPH(1)

gen_at_graph - generates a random graph for use in algotutor.

gen_at_graph [OPTION] ...

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.

generate ROWS rows of vertices
generate COLS columns of vertices
make each grid cell WIDTH pixel wide
make each grid cell HEIGHT pixel high
make all random numbers greater than or equal to LOWER
make all random numbers less than (but never equal to) UPPER
specify the probability of generating each diagonal

This code is distributed under the GNU General Public License

Chao-Kuei Hung ckhung AT cyut DOT edu DOT tw

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

2022-04-12 perl v5.34.0