~ubuntu-branches/ubuntu/trusty/deap/trusty

« back to all changes in this revision

Viewing changes to eap/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz
  • Date: 2010-12-09 23:05:47 UTC
  • Revision ID: james.westby@ubuntu.com-20101209230547-mrs9lngok0sx6318
Tags: upstream-0.6
ImportĀ upstreamĀ versionĀ 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#    This file is part of EAP.
 
2
#
 
3
#    EAP is free software: you can redistribute it and/or modify
 
4
#    it under the terms of the GNU Lesser General Public License as
 
5
#    published by the Free Software Foundation, either version 3 of
 
6
#    the License, or (at your option) any later version.
 
7
#
 
8
#    EAP is distributed in the hope that it will be useful,
 
9
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
11
#    GNU Lesser General Public License for more details.
 
12
#
 
13
#    You should have received a copy of the GNU Lesser General Public
 
14
#    License along with EAP. If not, see <http://www.gnu.org/licenses/>.
 
15
 
 
16
"""
 
17
EAP stands for Evolutionary Algorithm in Python, it is dedicated to people who
 
18
wish to learn how to use evolutionary algorithms and to those who wish to
 
19
rediscover evolutionary algorithms. The concepts of EAP may be extremely well
 
20
resumed by some statements of the :pep:`20`, *the Zen of Python* by Tim Peters.
 
21
 
 
22
- Beautiful is better than ugly.
 
23
- Explicit is better than implicit.
 
24
- Simple is better than complex.
 
25
- Complex is better than complicated.
 
26
- Readability counts.
 
27
- Special cases aren't special enough to break the rules.
 
28
- Although practicality beats purity.
 
29
- In the face of ambiguity, refuse the temptation to guess.
 
30
- There should be one-- and preferably only one --obvious way to do it.
 
31
- Although that way may not be obvious at first unless you're *Canadian*.
 
32
- If the implementation is hard to explain, it's a bad idea.
 
33
- If the implementation is easy to explain, it may be a good idea.
 
34
 
 
35
EAP is the proof that evolutionary algorithms do **not** need to be neither
 
36
complex or complicated.
 
37
"""
 
38
 
 
39
__author__ = "Francois-Michel De Rainville and Felix-Antoine Fortin"
 
40
__version__ = "0.6"
 
41
__revision__ = "0.6.0"