Skip to content

Commit

Permalink
Added an impossible tree and changed the name to errtree.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder committed Feb 6, 2013
1 parent 397e3f5 commit c7c699f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Binary file added doc/_images/gptypederrtree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/_images/gptypedinvtree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_images/gptypedtrees.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions doc/tutorials/gp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,8 @@ which are the only floats defined.
The preceding code can produce the tree on the left but not the one on
the right because the type restrictions.

.. image:: /_images/gptypedtree.png
:align: center

.. TODO: Aad a figure of an impossible tree.
.. image:: /_images/gptypedtrees.png
:align: center

.. note::
The generation of trees is done randomly while making sure type constraints
Expand All @@ -133,7 +130,7 @@ the right because the type restrictions.

|
.. image:: /_images/gptypedinvtree.png
.. image:: /_images/gptypederrtree.png
:align: center

In this case, DEAP raises an :class:`IndexError` with the message ``"The
Expand Down

0 comments on commit c7c699f

Please sign in to comment.