Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a perturbation method, possibly with genetic algorithm? #22

Open
sraaphorst opened this issue May 23, 2018 · 0 comments
Open

Add a perturbation method, possibly with genetic algorithm? #22

sraaphorst opened this issue May 23, 2018 · 0 comments

Comments

@sraaphorst
Copy link
Owner

Given an existing perfect maze and an objective function O(M) on mazes (e.g. branching factor, distance from start to end, etc):

  1. Perturb by adding a number of walls to the maze.

  2. Carve passages using some algorithm to result in a number of perfect maze children.

  3. Breed the child mazes in some way. (Could be via dividing mazes into quadrants and swapping diagonal quadrants, or something similar.)

  4. Kill off the worst children with respect to O(M).

  5. Iterate for some number of generations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant