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

Function name change #1

Closed
cmd-ntrf opened this issue May 21, 2014 · 4 comments
Closed

Function name change #1

cmd-ntrf opened this issue May 21, 2014 · 4 comments

Comments

@cmd-ntrf
Copy link
Member

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

@cmd-ntrf
Copy link
Member Author

From f.derain...@gmail.com on April 22, 2010 16:44:24

Genetic Programming = gp

@cmd-ntrf
Copy link
Member Author

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

@cmd-ntrf
Copy link
Member Author

From felix.antoine.fortin on April 23, 2010 14:28:21

Status: Accepted

@cmd-ntrf
Copy link
Member Author

From f.derain...@gmail.com on May 12, 2010 07:49:09

Code change completed.

Status: Verified
Owner: f.derainville

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