File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,10 +253,8 @@ Creates a triangular graph structure with width `w` and height `h`
253253horizontal and along the two diagonals)
254254
255255# Arguments
256- - `w`: Width of graph (i.e. the max number of nodes along horizontal dimension),
257- must be an integer
258- - `h`: Height of graph (i.e. the max number of nodes along vertical dimension),
259- must be an odd integer
256+ - `w`: Width of graph (i.e. the max number of nodes along horizontal dimension), must be an integer
257+ - `h`: Height of graph (i.e. the max number of nodes along vertical dimension), must be an odd integer
260258"""
261259function create_triangle (w, h)
262260 if h % 2 == 0
@@ -361,10 +359,8 @@ with width w and height h (nodes have 4 neighbors in total, along
361359horizontal and vertical dimensions, NOT diagonals)
362360
363361# Arguments
364- - `w`: width of graph (ie. the number of nodes along horizontal
365- dimension), must be an integer
366- - `h`: height of graph (ie. the number of nodes along vertical
367- dimension), must be an integer
362+ - `w`: width of graph (ie. the number of nodes along horizontal dimension), must be an integer
363+ - `h`: height of graph (ie. the number of nodes along vertical dimension), must be an integer
368364"""
369365function create_square (w, h)
370366 J = w * h
You can’t perform that action at this time.
0 commit comments