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

Parameterised type #37

Closed
wants to merge 12 commits into from

Commits on Aug 28, 2018

  1. added project file

    wildart committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    c7fb224 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2019

  1. 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.
    aahaselgrove committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    e38537b View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. Configuration menu
    Copy the full SHA
    99f69fc View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Configuration menu
    Copy the full SHA
    f549c10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55e9227 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31b085e View commit details
    Browse the repository at this point in the history
  4. Simplify uniformranking

    aahaselgrove committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    12a93e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d06fef1 View commit details
    Browse the repository at this point in the history
  6. 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.
    aahaselgrove committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    129196b View commit details
    Browse the repository at this point in the history
  7. 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
    aahaselgrove committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    70dc0fc View commit details
    Browse the repository at this point in the history
  8. Unified naming conventions across solution methods

    of accessing members
    aahaselgrove committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    e3d98b1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0cd421d View commit details
    Browse the repository at this point in the history