-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Function name change #1
Comments
From f.derain...@gmail.com on April 22, 2010 16:44:24 Genetic Programming = gp |
From f.derain...@gmail.com on April 22, 2010 16:45:53 In function names, except for the prefix, try not using abreviations as they may be misintrepreted |
From felix.antoine.fortin on April 23, 2010 14:28:21 Status: Accepted |
From f.derain...@gmail.com on May 12, 2010 07:49:09 Code change completed. Status: Verified |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From f.derain...@gmail.com on April 22, 2010 19:42:50
A proposition for a naming convention.
For variables and attributes, lowercase is used (lower_case may be prefered for long or
uncommon names).
For function names camelCase is used. The prefix (first word) is lower case (and abbreviated if
possible and not the only word), it delimits broader sections, crossover, mutation, algrithms, etc.
List of proposed prefixes
Crossover = cx
Mutation = mut
Selection = sel
Migration = mig
Evolutionary Algorithm = ea
Evolution Strategy = es
Genetic Algorithm = ga
Genetic Programming
For Classes, CapitalizedWords is used. After the review, I'll merge this branch into: /trunk
Original issue: http://code.google.com/p/deap/issues/detail?id=1
The text was updated successfully, but these errors were encountered: