Commits

Author Commit Message Labels Comments Date
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Renamed a method.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Small optimisation to _fisher_yates_shuffle.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
A small optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the test.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Extract a method.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Optimised the connectivity DFS scan.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Placed more stuff into _add_next_state.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of unnecessary variables.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of an unused field in the state.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert fill_next_cells to get_next_state.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Another optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the states to array refs.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
A small optimisation of reusing variables.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
A significant optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Another small optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Small optimisation using index.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert a foreach { if { push } } loop to grep.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of an assignment.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the return of _get_next_cells to indexes instead of xys.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert next_cell and the input to _get_next_cells to an index.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
More optimisation, this time by a lookup table.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Optimised _get_next_cells.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert identifiers away from "pos" - it was ambiguous.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert _find_available_moves to _get_next_cells.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the layout to a vec() so it will run faster.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add a customisable seed.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert to a more user-friendly layout-as-string output.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add a connectivity pruning.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add more to the generator.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the initial version of the generator.
  1. Prev
  2. Next