-
Notifications
You must be signed in to change notification settings - Fork 59
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
Parameterised type #37
Closed
Closed
Commits on Aug 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c7fb224 - Browse repository at this point
Copy the full SHA c7fb224View commit details
Commits on Sep 18, 2019
-
Separated out functionalities from initPopulation
`initPopulation` was a heavily overloaded parameter, with a variety of types corresponding to a range of possible behaviours. This commit: - Removes the option to pass a vector representing the search space. This is specific and unclear, and behaviour can easily be easily represented by one of the other options - Restricts `initPopulation` to be a vector of individuals (where an individual is a single member of the population) - Adds a new parameter `creation` to represent a function to create an individual. Default behaviour has not been changed, but is now represented by a creation function.
Configuration menu - View commit details
-
Copy full SHA for e38537b - Browse repository at this point
Copy the full SHA e38537bView commit details
Commits on Sep 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 99f69fc - Browse repository at this point
Copy the full SHA 99f69fcView commit details
Commits on Sep 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f549c10 - Browse repository at this point
Copy the full SHA f549c10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e9227 - Browse repository at this point
Copy the full SHA 55e9227View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b085e - Browse repository at this point
Copy the full SHA 31b085eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a93e8 - Browse repository at this point
Copy the full SHA 12a93e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d06fef1 - Browse repository at this point
Copy the full SHA d06fef1View commit details -
Separated out functionalities from initPopulation
`initPopulation` was a heavily overloaded parameter, with a variety of types corresponding to a range of possible behaviours. This commit: - Removes the option to pass a vector representing the search space. This is specific and unclear, and behaviour can easily be easily represented by one of the other options - Restricts `initPopulation` to be a vector of individuals (where an individual is a single member of the population) - Adds a new parameter `creation` to represent a function to create an individual. Default behaviour has not been changed, but is now represented by a creation function.
Configuration menu - View commit details
-
Copy full SHA for 129196b - Browse repository at this point
Copy the full SHA 129196bView commit details -
Parameterised functions and removed getIndividual
The `getIndividual` function was performing unnecessary work, so is factored out in this commit. Instead, a sample individual is passed as a parameter. This has the added benefit of making it clear to a reader what kind of data is being worked with. Note: n-queens P increased to 200 due to flaky test. of accessing members
Configuration menu - View commit details
-
Copy full SHA for 70dc0fc - Browse repository at this point
Copy the full SHA 70dc0fcView commit details -
Unified naming conventions across solution methods
of accessing members
Configuration menu - View commit details
-
Copy full SHA for e3d98b1 - Browse repository at this point
Copy the full SHA e3d98b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd421d - Browse repository at this point
Copy the full SHA 0cd421dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.